(Fstart_process, Fmake_network_process, read_process_output):
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 17 Jul 2007 05:57:35 +0000 (05:57 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 17 Jul 2007 05:57:35 +0000 (05:57 +0000)
Fix up last changes.

src/ChangeLog
src/process.c

index ac1a040..5450efd 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * process.c (Fstart_process, Fmake_network_process)
+       (read_process_output): Fix up last changes.
+
 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
 
        * makefile.w32-in (clean): Don't delete *~.
index 5f96467..e588b3b 100644 (file)
@@ -1776,7 +1776,7 @@ usage: (start-process NAME BUFFER PROGRAM &rest PROGRAM-ARGS)  */)
   XPROCESS (proc)->encoding_buf = make_uninit_string (0);
 
   XPROCESS (proc)->inherit_coding_system_flag
-    = (NILP (buffer) || !inherit_process_coding_system);
+    = !(NILP (buffer) || !inherit_process_coding_system);
 
   create_process (proc, (char **) new_argv, current_dir);
 
@@ -3548,7 +3548,7 @@ usage: (make-network-process &rest ARGS)  */)
   p->encoding_buf = make_uninit_string (0);
 
   p->inherit_coding_system_flag
-    = (!NILP (tem) || NILP (buffer) || !inherit_process_coding_system);
+    = !(!NILP (tem) || NILP (buffer) || !inherit_process_coding_system);
 
   UNGCPRO;
   return proc;
@@ -5181,7 +5181,7 @@ read_process_output (proc, channel)
             carryover);
       p->decoding_carryover = carryover;
       /* Adjust the multibyteness of TEXT to that of the filter.  */
-      if (p->filter_multibyte != STRING_MULTIBYTE (text))
+      if (!p->filter_multibyte != !STRING_MULTIBYTE (text))
        text = (STRING_MULTIBYTE (text)
                ? Fstring_as_unibyte (text)
                : Fstring_to_multibyte (text));