emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r117494: * process.c (read_and_dispose_of_process_ou


From: Paul Eggert
Subject: [Emacs-diffs] trunk r117494: * process.c (read_and_dispose_of_process_output): Fix typo
Date: Tue, 08 Jul 2014 17:13:36 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117494
revision-id: address@hidden
parent: address@hidden
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Tue 2014-07-08 10:13:32 -0700
message:
  * process.c (read_and_dispose_of_process_output): Fix typo
  
  in previous patch: we want nonnegative fds, not nonzero fds.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/process.c                  process.c-20091113204419-o5vbwnq5f7feedwu-462
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-07-08 14:50:45 +0000
+++ b/src/ChangeLog     2014-07-08 17:13:32 +0000
@@ -1,3 +1,8 @@
+2014-07-08  Paul Eggert  <address@hidden>
+
+       * process.c (read_and_dispose_of_process_output): Fix typo
+       in previous patch: we want nonnegative fds, not nonzero fds.
+
 2014-07-08  Dmitry Antipov  <address@hidden>
 
        * chartab.c (char_table_translate): Move to...

=== modified file 'src/process.c'
--- a/src/process.c     2014-07-08 06:24:07 +0000
+++ b/src/process.c     2014-07-08 17:13:32 +0000
@@ -5134,7 +5134,7 @@
         proc_encode_coding_system[p->outfd] surely points to a
         valid memory because p->outfd will be changed once EOF is
         sent to the process.  */
-      if (NILP (p->encode_coding_system) && p->outfd
+      if (NILP (p->encode_coding_system) && p->outfd >= 0
          && proc_encode_coding_system[p->outfd])
        {
          pset_encode_coding_system


reply via email to

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