2017-09-01 12:10:56 by Henrik Grubbström (Grubba) <email@example.com>
Stdio.File(): close() fixes.
Unify low level calls close_fd() and close_fd_quietly() to reduce
Fix error handling in close_fd() and do_close_fd(). POSIX says that
fds are closed on all errors except EINTR, where it is unspecified.
Don't complain about close(2) failing with EBADF if it previously
failed with EINTR.
Ignore close(2) failing with ECONNRESET. This happens on eg FreeBSD
when there is still data pending to be sent and the peer has already
closed the connection.
Fix documentation for the return value of close().
Potential fix for testsuite failures on FreeBSD.
Inside #if defined(SOLARIS)
Inside #if !defined(__NT__) && (defined(HAVE_POSIX_OPENPT) || defined(PTY_MASTER_PATHNAME)) and #if defined(HAVE_POSIX_OPENPT)