------- Comment #3 from mckinlay at redhat dot com 2006-04-20 21:45 ------- It does look like these should be made robust in the case of an EINTR which was caused by a signal other than the interrupt signal.
As for ignoring ENOTCONN and ECONNRESET, I have a vague recollection that there is a good reason for doing this (compatibility with Sun?) - but this probably does warrant more testing/investigation, and a better comment. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27219