[uClibc]fread and EOF

Manuel Novoa III mjn3 at uclibc.org
Fri Jul 27 14:13:34 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.

:-(  Ok... I think I'll have a chance to look at it this evening.

Manuel





More information about the uClibc mailing list