diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-01-06 12:28:13 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-01-06 12:28:13 +0300 |
commit | d6154fb758bddfc22abf303f5cb015b2c9fb4eeb (patch) | |
tree | 0d9496ce75979c99eb9ff34e1053b215d2be9f45 /winsup/cygwin/dtable.cc | |
parent | 9125cbd7cf47b848390294897561c556a8d8b572 (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.cc | 2 |
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) |