readlink bugs

Denis Vlasenko vda.linux at googlemail.com
Fri Oct 20 18:45:12 UTC 2006


On Friday 20 October 2006 20:09, Rob Landley wrote:
> On Friday 20 October 2006 9:27 am, Denis Vlasenko wrote:
> > > >Please don't botch busybox but reuse the stuff that is already there ;)
> > 
> > I won't. That was just how one can prove that glibc doesn't flush streams.
> 
> Or one can look at the original bugfix I applied, which I gave a URL to 
> earlier in this thread, which showed how to reproduce the problem with 
> a "hello world" program and showed it was clearly not a BusyBox bug and also 
> indicated that I'd tried it against uClibc and the bug was not in uClibc.
> 
> You can, of course, add code to busybox to work around bugs in glibc.  But 
> anybody statically linking against glibc obviously does not care about size 
> at all, so dropping the optimization flags struck me as the best solution at 
> the time.

Tried to, found it non-trivial to detect from Makefile
that our libc is glibc. Added a compile-time error intead for now.

Will find a buildable solution as soon as someone will really want
to have static busybox + glibc.
--
vda



More information about the busybox mailing list