emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r101634: Reinstate ifdef subprocesses


From: Jan D
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r101634: Reinstate ifdef subprocesses.
Date: Sun, 26 Sep 2010 22:21:29 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 101634
committer: Jan D <address@hidden>
branch nick: trunk
timestamp: Sun 2010-09-26 22:21:29 +0200
message:
  Reinstate ifdef subprocesses.
  
  * process.c (add_keyboard_wait_descriptor) (delete_keyboard_wait_descriptor): 
Reinstate ifdef subprocesses.
modified:
  src/ChangeLog
  src/process.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-09-26 16:20:01 +0000
+++ b/src/ChangeLog     2010-09-26 20:21:29 +0000
@@ -1,5 +1,8 @@
 2010-09-26  Jan Djärv  <address@hidden>
 
+       * process.c (add_keyboard_wait_descriptor)
+       (delete_keyboard_wait_descriptor): Reinstate ifdef subprocesses.
+
        * process.h (add_read_fd, delete_read_fd, add_write_fd)
        (delete_write_fd): Declare.
 

=== modified file 'src/process.c'
--- a/src/process.c     2010-09-26 16:20:01 +0000
+++ b/src/process.c     2010-09-26 20:21:29 +0000
@@ -7086,10 +7086,12 @@
 void
 add_keyboard_wait_descriptor (int desc)
 {
+#ifdef subprocesses /* actually means "not MSDOS" */
   FD_SET (desc, &input_wait_mask);
   FD_SET (desc, &non_process_wait_mask);
   if (desc > max_input_desc)
     max_input_desc = desc;
+#endif
 }
 
 /* From now on, do not expect DESC to give keyboard input.  */
@@ -7097,6 +7099,7 @@
 void
 delete_keyboard_wait_descriptor (int desc)
 {
+#ifdef subprocesses
   int fd;
   int lim = max_input_desc;
 
@@ -7107,6 +7110,7 @@
     for (fd = 0; fd < lim; fd++)
       if (FD_ISSET (fd, &input_wait_mask) || FD_ISSET (fd, &write_mask))
         max_input_desc = fd;
+#endif
 }
 
 /* Setup coding systems of PROCESS.  */


reply via email to

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