* syscalls.c (_read): Clear errno before doing any read operation.

This commit is contained in:
Christopher Faylor 2000-02-24 20:57:03 +00:00
parent d3bda1df95
commit faecc585c2
2 changed files with 5 additions and 0 deletions

View 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

View 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. */