utmp fix for mips64 uClibc systems
Rich Felker
dalias at aerifal.cx
Mon Oct 22 03:15:08 UTC 2012
On Sun, Oct 21, 2012 at 10:44:59PM -0400, Mike Frysinger wrote:
> On Monday 24 September 2012 15:13:49 Cathey, Jim wrote:
> > This is a uLibc fault. A common idiom,
> > from way back, is:
> >
> > close(creat(...));
> >
> > Close is supposed to be able to survive being
> > given a negative number.
>
> yes, if close(-1) is crashing, fix uClibc. bloating busybox to work around
> buggy C lib like this is not good.
_How_ was this happening? I'd really be interested in knowing how you
could mess up close() that bad...
Rich
More information about the busybox
mailing list