summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/syscalls.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc1
1 files changed, 1 insertions, 0 deletions
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. */