[uClibc]fread and EOF

Manuel Novoa III mjn3 at uclibc.org
Sat Jul 28 14:56:46 UTC 2001


Vodz,

On Fri, Jul 27, 2001 at 01:52:24PM +0400, Vladimir N. Oleynik wrote:
> Unfortunately now does not work fgets(). Cycle turns out - fgets calls fgec
> which calls
> _Uclibc_fread which bytes=1 finds out that buffer for example stdin is empty and
> calls
> recursively(!) _Uclibc_fread with BUFSIZ where certainly about any interruption 
> on '\n' does not occur.

I think it is fixed now, as I actually had time to do a little testing...

Manuel





More information about the uClibc mailing list