diff options
author | Christopher Faylor <me@cgf.cx> | 2010-01-29 20:37:54 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2010-01-29 20:37:54 +0300 |
commit | 2b37c431b1c2f4e90fd7c6130b8bddc9e9c019f9 (patch) | |
tree | fd975777ae3c324240216cbcd44f9cdfa0e5c051 /winsup/cygwin/pipe.cc | |
parent | 3432d6f1f766adc1b8c14af4cc63b6ae25399ada (diff) |
* libc/strfmon.c (__setup_vars): Fix compiler warning about assigning const
strings. Compare a pointer to NULL rather than '\0'.
* dll_init.cc (dll_dllcrt0_1): Minor comment fix.
* pipe.cc (fhandler_pipe::create_selectable): Remove Win9x accommodation.
Diffstat (limited to 'winsup/cygwin/pipe.cc')
-rw-r--r-- | winsup/cygwin/pipe.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc index 2d351fd68..5194856bc 100644 --- a/winsup/cygwin/pipe.cc +++ b/winsup/cygwin/pipe.cc @@ -251,7 +251,7 @@ fhandler_pipe::create_selectable (LPSECURITY_ATTRIBUTES sa_ptr, HANDLE& r, psize, NMPWAIT_USE_DEFAULT_WAIT, sa_ptr); /* Win 95 seems to return NULL instead of INVALID_HANDLE_VALUE */ - if (r && r != INVALID_HANDLE_VALUE) + if (r != INVALID_HANDLE_VALUE) { debug_printf ("pipe read handle %p", r); break; |