This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/3746] exit violates POSIX on seekable stdin


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]