[PATCH] switch from sprintf to asprintf and snprintf

2009-12-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
sprintf is potentially dangerous especially with gettext, when messages may be larger than coder would expect. I attach the patch to fix it -- Regards Vladimir 'φ-coder/phcoder' Serbinenko === modified file 'commands/ls.c' --- commands/ls.c 2009-12-25 23:50:59 + +++ commands/ls.c 2009-12-29

Compilation under MacOSX

2009-12-29 Thread Yves Blusseau
Hi all, here the news: the main trunk (mainline) can be compile on Mac OSX (snow leopard) but i need to add a LDFLAGS="-lintl" so utils like grub-mkimage can link. I think the _( gettext macro is not expand on linux when grub-mkimage is compile under linux because they are no reference of the g

Re: grub.info

2009-12-29 Thread Bruce Dubbs
Bruce O. Benson wrote: If I: - ...merged the contents of both existing documents into a new one... - ...that adhered to the outline you enumerated... - ...assigned copyright to FSF... - ...rendered in texi, html, and pdf. ...Would that be useful for someone to check in to trunk/docs? I don't w

Re: Compilation under MacOSX

2009-12-29 Thread Grégoire Sutre
Hi Yves, the main trunk (mainline) can be compile on Mac OSX (snow leopard) but i need to add a LDFLAGS="-lintl" so utils like grub-mkimage can link. I experienced a similar problem when compiling trunk on NetBSD: http://savannah.gnu.org/bugs/?28356 Adding LDFLAGS="-lintl" also solved the p

Re: grub.info

2009-12-29 Thread Bruce O. Benson
On Tue, Dec 29, 2009 at 10:37 AM, Bruce Dubbs wrote: > Bruce O. Benson wrote: > > If I: >> - ...merged the contents of both existing documents into a new one... >> - ...that adhered to the outline you enumerated... >> - ...assigned copyright to FSF... >> - ...rendered in texi, html, and pdf. >>