Commit f067b8ec authored by Juanma Barranquero's avatar Juanma Barranquero

Fix bug#10044

src/w32proc.c (reader_thread): Don't check pending input if cp->fd < 0,
just return.
parent a9a75fac
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
......
......@@ -241,7 +241,8 @@ reader_thread (void *arg)
/* 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 (;;)
......@@ -2319,4 +2320,3 @@ where the performance impact may be noticeable even on modern hardware. */);
staticpro (&Vw32_valid_codepages);
}
/* end of w32proc.c */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment