diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 636d59b60..c62e0ca11 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +Thu Feb 24 15:56:00 2000 Christopher Faylor + + * syscalls.c (_read): Clear errno before doing any read operation. + Thu Feb 24 14:45:06 2000 Christopher Faylor * exceptions.cc (call_handler): Use new muto linked list to look for diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index e7b98efe9..da8d345ab 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -189,6 +189,7 @@ _read (int fd, void *ptr, size_t len) return -1; } + // set_sig_errno (0); fhandler_base *fh = dtable[fd]; /* Could block, so let user know we at least got here. */