public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "funtoos at yahoo dot com" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sources.redhat.com Subject: [Bug libc/1190] fgetc()/fread() behaviour is not POSIX compliant Date: Fri, 30 Sep 2005 20:50:00 -0000 [thread overview] Message-ID: <20050930205016.24064.qmail@sourceware.org> (raw) In-Reply-To: <20050810161252.1190.funtoos@yahoo.com> ------- Additional Comments From funtoos at yahoo dot com 2005-09-30 20:50 ------- its a simple thing. fgetc() needs to return EOF if EOF is what the last call had returned and is set on the stream, even though there is new data ready to be read. EOF should be explicitly cleared (by the programmer) before the next call to fgetc() is made by the programmer. This is a simple POSIX compliance requirement as per the links I provided. What do we need a test case for? Are you saying that the behaviour reported in the example is not the current behaviour of glibc? -- What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW http://sourceware.org/bugzilla/show_bug.cgi?id=1190 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
next prev parent reply other threads:[~2005-09-30 20:50 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-08-10 16:12 [Bug libc/1190] New: " funtoos at yahoo dot com 2005-08-10 16:15 ` [Bug libc/1190] " funtoos at yahoo dot com 2005-09-28 5:34 ` drepper at redhat dot com 2005-09-30 20:50 ` funtoos at yahoo dot com [this message] 2005-12-30 15:31 ` aj at suse dot de 2007-02-18 4:39 ` drepper at redhat dot com [not found] <bug-1190-131@http.sourceware.org/bugzilla/> 2011-10-27 2:08 ` bugdal at aerifal dot cx 2011-10-27 2:08 ` bugdal at aerifal dot cx 2011-11-04 18:31 ` gotom at debian dot or.jp
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20050930205016.24064.qmail@sourceware.org \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sources.redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).