emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106371: Fix bug#10044


From: Juanma Barranquero
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106371: Fix bug#10044
Date: Mon, 14 Nov 2011 18:52:09 +0100
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106371
fixes bug(s): http://debbugs.gnu.org/10044
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Mon 2011-11-14 18:52:09 +0100
message:
  Fix bug#10044
  src/w32proc.c (reader_thread): Don't check pending input if cp->fd < 0,
  just return.
modified:
  src/ChangeLog
  src/w32proc.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-11-12 12:11:54 +0000
+++ b/src/ChangeLog     2011-11-14 17:52:09 +0000
@@ -1,3 +1,8 @@
+2011-11-14  Juanma Barranquero  <address@hidden>
+
+       * w32proc.c (reader_thread): Don't check pending input if cp->fd < 0,
+       just return (bug#10044).
+
 2011-11-12  Eli Zaretskii  <address@hidden>
 
        * makefile.w32-in (HEAPSIZE): New variable, allows to build temacs

=== modified file 'src/w32proc.c'
--- a/src/w32proc.c     2011-06-24 21:25:22 +0000
+++ b/src/w32proc.c     2011-11-14 17:52:09 +0000
@@ -241,7 +241,8 @@
 
   /* 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 @@
   staticpro (&Vw32_valid_codepages);
 }
 /* end of w32proc.c */
-


reply via email to

[Prev in Thread] Current Thread [Next in Thread]