diff options
Diffstat (limited to 'winsup/cygwin/wait.cc')
-rw-r--r-- | winsup/cygwin/wait.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/wait.cc b/winsup/cygwin/wait.cc index 8fc7f981c..772b5cc88 100644 --- a/winsup/cygwin/wait.cc +++ b/winsup/cygwin/wait.cc @@ -100,8 +100,6 @@ wait4 (int intpid, int *status, int options, struct rusage *r) } else if (res != WAIT_OBJECT_0) { - /* We shouldn't set errno to any random value if we can help it. - See the Posix manual for a list of valid values for `errno'. */ set_errno (EINVAL); res = -1; } |