[BusyBox] Re: init revision 1.170, 1.169
Erik Andersen
andersen at codepoet.org
Mon Sep 16 02:30:03 UTC 2002
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'. 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.
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list