This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/3746] exit violates POSIX on seekable stdin
- From: "ebb9 at byu dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 18 Dec 2006 18:26:13 -0000
- Subject: [Bug libc/3746] exit violates POSIX on seekable stdin
- References: <20061216200936.3746.ebb9@byu.net>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From ebb9 at byu dot net 2006-12-18 18:26 -------
No, this is an XSH requirement. Quoting from
http://www.opengroup.org/onlinepubs/009695399/functions/exit.html,
"The exit() function shall then flush all open streams with unwritten buffered
data, close all open streams, and remove all files created by tmpfile()."
In other words, glibc is at fault for not closing stdin after all atexit
handlers have completed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
http://sourceware.org/bugzilla/show_bug.cgi?id=3746
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.