Supplying unavailable functions
Denys Vlasenko
vda.linux at googlemail.com
Tue Sep 15 21:57:18 UTC 2009
On Saturday 12 September 2009 09:42, Dan Fandrich wrote:
> There is half-hearted support in a few places in BusyBox for environments
> that don't supply some of the glibc and BSD-specific functions that it
> requires. For example, a few functions are reimplemented in the code but
> permanently commented out, like this:
>
> #if 0 /* If we will ever meet a libc which hasn't [f]dprintf... */
>
> It would be nice to be able to access these implementations without having
> to uncomment the source all over the place. How about putting these
> functions into one place, like libbb/platform.c, and using autoconf.h
> macros to enable or disable each one as needed?
Sure. Please send a patch. But this will also require autoconf-like
machinery to detect a platform, and we don't have it.
--
vda
More information about the busybox
mailing list