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

Re: [OT] Help with glibc memory streams



Ben Collins wrote:
> 
> Yours only works becuase it implicitly causes fgets() to stop reading.
> That is a hack and shouldn't be needed ("\n" is not EOF).
> 

Yes, as you say specs don't require such a thing.

> This is, IMO, a legitimate bug. Note, I also tested this same problem with
> fgetc() and it worked perfectly, so this is a problem in fgets.

Thanks a lot. I presume you'll be discussing this problem in bug-glibc
as you're libc6's maintainer, or would you like me to draw their attention
to this problem?

Regards,

PS: Why do I always stumble upon compiler and library bugs? :'(

-- 
Eray (exa) Ozkural
Comp. Sci. Dept., Bilkent University, Ankara
e-mail: erayo@cs.bilkent.edu.tr
www: http://www.cs.bilkent.edu.tr/~erayo



Reply to: