[klibc] printf broken with recent fd and FILE changes

H. Peter Anvin hpa at zytor.com
Tue Jan 27 16:38:01 PST 2004


Olaf Hering wrote:
>  On Tue, Jan 27, Olaf Hering wrote:
> 
>>I'm not sure what the root cause is, but printf writes to fd 0:
> 
> printf calls _fwrite with *f = 0x1, fileno decrements it and fd for
> write becomes 0.
> 

OK, bug in my definition of the stdin/stdout/stderr.  Will fix momentarily.

	-hpa



More information about the klibc mailing list