* 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.
This commit is contained in:
Corinna Vinschen
2002-01-06 09:28:13 +00:00
parent 9125cbd7cf
commit d6154fb758
5 changed files with 29 additions and 9 deletions

View File

@@ -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)