src/w32proc.c (reader_thread): Don't check pending input if cp->fd < 0,
just return.
+2011-11-14 Juanma Barranquero <lekktu@gmail.com>
+
+ * w32proc.c (reader_thread): Don't check pending input if cp->fd < 0,
+ just return (bug#10044).
+
2011-11-12 Eli Zaretskii <eliz@gnu.org>
* makefile.w32-in (HEAPSIZE): New variable, allows to build temacs
/* We have to wait for the go-ahead before we can start */
if (cp == NULL
- || WaitForSingleObject (cp->char_consumed, INFINITE) != WAIT_OBJECT_0)
+ || WaitForSingleObject (cp->char_consumed, INFINITE) != WAIT_OBJECT_0
+ || cp->fd < 0)
return 1;
for (;;)
staticpro (&Vw32_valid_codepages);
}
/* end of w32proc.c */
-