* syscalls.c (_read): Clear errno before doing any read operation.
This commit is contained in:
		| @@ -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> | Thu Feb 24 14:45:06 2000  Christopher Faylor <cgf@cygnus.com> | ||||||
|  |  | ||||||
| 	* exceptions.cc (call_handler): Use new muto linked list to look for | 	* exceptions.cc (call_handler): Use new muto linked list to look for | ||||||
|   | |||||||
| @@ -189,6 +189,7 @@ _read (int fd, void *ptr, size_t len) | |||||||
|       return -1; |       return -1; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |   // set_sig_errno (0); | ||||||
|   fhandler_base *fh = dtable[fd]; |   fhandler_base *fh = dtable[fd]; | ||||||
|  |  | ||||||
|   /* Could block, so let user know we at least got here.  */ |   /* Could block, so let user know we at least got here.  */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user