* 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.
This commit is contained in:
Christopher Faylor
2010-01-29 17:37:54 +00:00
parent 3432d6f1f7
commit 2b37c431b1
4 changed files with 15 additions and 4 deletions

View File

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