Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2002-01-06 12:28:13 +0300
committerCorinna Vinschen <corinna@vinschen.de>2002-01-06 12:28:13 +0300
commitd6154fb758bddfc22abf303f5cb015b2c9fb4eeb (patch)
tree0d9496ce75979c99eb9ff34e1053b215d2be9f45 /winsup/cygwin/dtable.cc
parent9125cbd7cf47b848390294897561c556a8d8b572 (diff)
* ioctl.cc (ioctl): Make third argument optional.
* include/sys/ioctl.h: Ditto in declaration. * dtable.cc (dtable::init_std_file_from_handle): Revert previous bogus patch. * window.cc (WndProc): Raise SIGURG instead of SIGIO in case of FD_OOB message.
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r--winsup/cygwin/dtable.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index 0fe747e43..a6f5b075c 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -196,7 +196,7 @@ dtable::init_std_file_from_handle (int fd, HANDLE handle, DWORD myaccess)
first_fd_for_open = 0;
- if (handle == INVALID_HANDLE_VALUE)
+ if (!handle || handle == INVALID_HANDLE_VALUE)
return;
if (__fmode)