]> sourceware.org Git - newlib-cygwin.git/commitdiff
* syscalls.c (_read): Clear errno before doing any read operation.
authorChristopher Faylor <me@cgf.cx>
Thu, 24 Feb 2000 20:57:03 +0000 (20:57 +0000)
committerChristopher Faylor <me@cgf.cx>
Thu, 24 Feb 2000 20:57:03 +0000 (20:57 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/syscalls.cc

index 636d59b60cc2279a2cf73b5f8ebf757ffadbc26b..c62e0ca110f3c0531f513dc65d19a46200cc3365 100644 (file)
@@ -1,3 +1,7 @@
+Thu Feb 24 15:56:00 2000  Christopher Faylor <cgf@cygnus.com>
+
+       * syscalls.c (_read): Clear errno before doing any read operation.
+
 Thu Feb 24 14:45:06 2000  Christopher Faylor <cgf@cygnus.com>
 
        * exceptions.cc (call_handler): Use new muto linked list to look for
index e7b98efe9ab256ca5d7f8c696ab4fce33876ca2f..da8d345abf4e0c2345d78b2d64ee60ccf2cf4ce0 100644 (file)
@@ -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.  */
This page took 0.03889 seconds and 5 git commands to generate.