[BusyBox] Re: init revision 1.170, 1.169
Vladimir N. Oleynik
dzo at simtreas.ru
Mon Sep 16 02:33:06 UTC 2002
Erik,
> On Mon Sep 16, 2002 at 12:17:23PM +0400, Vladimir N. Oleynik wrote:
> > > Either way works, though "%m" is a GNU extension, and is not
> > > supported by all C libraries.
> >
> > I know. But:
> > busybox-0.61pre $ grep "%m" `find . -name "*.c"` | wc -l
> > 26
> >
> > Require changes? :(
>
> I just checked, and contrary to what I believed, Linux libc5
> does support '%m'.
This false. "%m" may be not support from libc4?
> And of course uClibc support it. So perhaps
> we should fix things the _other_ way.... :-)
>
> $ grep "strerror" `find . -name "*.c"` | wc -l
> 41
> I'm sure that changing these strerror() calls to %m will reduce
> the size of busybox. So I agree with you, using '%m' is better
> and should be policy.
--w
vodz
More information about the busybox
mailing list