[Bug libc/713] fgets() should only return zero upon error or EOF

ballen at gravity dot phys dot uwm dot edu sourceware-bugzilla@sources.redhat.com
Wed Mar 2 17:59:00 GMT 2005


------- Additional Comments From ballen at gravity dot phys dot uwm dot edu  2005-03-02 17:59 -------
I am seeing some odd behavior on FC3 that might be related.  I have a cgi program, which uses fgets() 
to read from stdin.  In this case, stdin is a pipe to Apache, which is connected to a socket from the 
remote machine.  fgets() is NOT returning (it hangs), but when I call feof(stdin) I get EOF.

Bruce Allen

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=713

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Glibc-bugs mailing list