fix handling of EINTR during close()
authorRich Felker <dalias@aerifal.cx>
Tue, 25 Sep 2012 02:39:08 +0000 (22:39 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 25 Sep 2012 02:39:08 +0000 (22:39 -0400)
austin group interpretation for defect #529
(http://austingroupbugs.net/view.php?id=529) tightens the
requirements on close such that, if it returns with EINTR, the file
descriptor must not be closed. the linux kernel developers vehemently
disagree with this, and will not change it. we catch and remap EINTR
to EINPROGRESS, which the standard allows close() to return when the
operation was not finished but the file descriptor has been closed.


No differences found