Felix Zielcke wrote: > I just talked with Marco on IRC. > > I have just used asprintf in one of my patches, but now I discovered: > http://grub.enbug.org/BuildingOnNonGnu > > So I became a bit unsure now if it's okay to just use asprintf. > > Is it okay to just use and don't care about enviroments which don't > use/have glibc? > > Or should such GNU extentions just not be used if they can be avoided? > > I doubt it would be good to use many `#ifdef _GNU_SOURCE' in the code.
Please use what ever we have on grub source code already. Then it work fine also in standalone grub. It should be possible to use existing functions. I see asprintf just a wrapper to malloc/sprintf for which there are already versions present on grub. _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel