* dtable.cc (dtable::init_std_file_from_handle): Don't treat NULL

handle as errorneous.
This commit is contained in:
Corinna Vinschen 2002-01-05 18:42:52 +00:00
parent acf05df744
commit 2edba2368a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-01-05 Corinna Vinschen <corinna@vinschen.de>
* dtable.cc (dtable::init_std_file_from_handle): Don't treat NULL
handle as errorneous.
2002-01-04 Christopher Faylor <cgf@redhat.com>
* cygmagic: Change logic for equality test.

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 || handle == INVALID_HANDLE_VALUE)
if (handle == INVALID_HANDLE_VALUE)
return;
if (__fmode)