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

Bug#57729: fgets: probably not a bug



What do you mean by under high load?  Long lines, in which case it obviously
will return partial lines?

fdopen() creates an unbuffered stream, so the code for fgets does nothing
more than read from the socket until a newline, EOF, or error is
encountered.

Dan

/--------------------------------\  /--------------------------------\
|       Daniel Jacobowitz        |__|        SCS Class of 2002       |
|   Debian GNU/Linux Developer    __    Carnegie Mellon University   |
|         dan@debian.org         |  |       dmj+@andrew.cmu.edu      |
\--------------------------------/  \--------------------------------/


Reply to: