This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: BZ #1190: stream behaviour on encountering an EOF
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 13 Sep 2012 10:08:52 -0700 (PDT)
- Subject: Re: BZ #1190: stream behaviour on encountering an EOF
- References: <20120913194011.1410330c@spoyarek><20120913194644.5f7a5f0d@spoyarek>
I know there is long history and debate about "sticky EOF" behavior in
stdio. I don't recall the details. It really does not seem like a safe
thing to change at this stage.
Before even considering it, someone needs to do an independent, thorough
analysis of the clauses in the standards that are purported to require a
different behavior here. The original bug report mentioned some POSIX
references, but we need to see here (on this list) a specific analysis of
the wording of the specification to justify the claim about how the
functions are supposed to behave.
Thanks,
Roland