* dtable.cc (dtable::init_std_file_from_handle): Don't treat NULL
handle as errorneous.
This commit is contained in:
parent
acf05df744
commit
2edba2368a
@ -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.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user