[BusyBox] [PATCH] kill error message

Rob Landley rob at landley.net
Wed Aug 17 07:13:56 UTC 2005


On Wednesday 17 August 2005 01:50, Vladimir N. Oleynik wrote:
> Rob,
>
> > %m is a glibc extension.  uClibc has an option to implement it, from
> > menuconfig in uClibc 0.9.27:
> >
> > UCLIBC_HAS_PRINTF_M_SPEC:
> >   │
> >   │ Answer Y to support a glibc extension to interpret '%m' in printf
> >   │ format strings as an instruction to output the error message string
> >   │ (as generated by strerror) corresponding to the current value of
> > 'errno │
> >   │ Most people will answer N.
>
> But uclibc support register_printf_function().
> If add to busybox autoconfigure for check "%m" or not,
> we can use this code (tested):

I seldom manage to understand what you're actually saying, but I are you 
suggesting busybox start using autoconf?

> >>>>AFTER
> >>>># kill 1234
> >>>>kill: 3: kill 1234: No such process
> >>
> >>Really to like you here this result?
> >
> > Assuming your translator program meant something like "Do you really like
> > this result"?  The answer is "I personally don't strongly care one way or
> > the other".
>
> Hmm.
> Do you really like show the double "kill" word?

Not really, no.

If somebody else wants to check in a different change to that, fine.  I've now 
started a shell rewrite that I hope will obsolete this whole mess, but it'll 
take a while...

> --w
> vodz

Rob



More information about the busybox mailing list