[RFC][BZ #14627] Make linux close errno to EINPROGRESS when interrupted in signal.

Joseph S. Myers joseph@codesourcery.com
Fri Dec 6 02:33:00 GMT 2013


On Thu, 5 Dec 2013, Rich Felker wrote:

> Most GNU programs using gnulib check for an error closing stdout
> before they exit and adjust their exit status accordingly. I doubt
> anything else checks.

That should be about fclose errors (i.e. if a write syscall failed, with 
stdout redirected) rather than errors from the close syscall (although of 
course if the close syscall failed that would be passed though to fclose).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list