> Would look more consistent if the code looked like > > if (n < 0 && errno == ERROR_IO_PENDING) > errno = EINTR;
It would be more consistent, but unfortunately GetLastError() != errno. --- Certain disclaimers and policies apply to all email sent from Memetrics. For the full text of these disclaimers and policies see <a href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em ailpolicy.html</a> ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend