This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/713] fgets() should only return zero upon error or EOF
- From: "ballen at gravity dot phys dot uwm dot edu" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 2 Mar 2005 17:59:10 -0000
- Subject: [Bug libc/713] fgets() should only return zero upon error or EOF
- References: <20050210210444.713.bww@acm.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- 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.