tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] Re: sharing mutex between libc stub and libpthread

>> We could warnx() and return an error, but [...]
> A library function can't write to stdout or stderr either, nor even
> assume that fd 0, 1 and 2 have anything like their expected uses.

Nice theory, but that ship sailed long ago.  ("warning: chunk is
already free" comes to mind immediately.)

I do agree it would be good if this were how libraries actually behaved.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML      
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index