emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r111212: w32proc.c (sys_spawnve):


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r111212: w32proc.c (sys_spawnve): Initialize escape_char.
Date: Fri, 01 Feb 2013 11:23:23 +0200
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111212
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Fri 2013-02-01 11:23:23 +0200
message:
  w32proc.c (sys_spawnve): Initialize escape_char.
  
   src/w32proc.c (sys_spawnve): Make sure escape_char is initialized,
   even if w32-quote-process-args is nil.
modified:
  src/ChangeLog
  src/w32proc.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-01-27 08:04:16 +0000
+++ b/src/ChangeLog     2013-02-01 09:23:23 +0000
@@ -1,3 +1,8 @@
+2013-02-01  Eli Zaretskii  <address@hidden>
+
+       * w32proc.c (sys_spawnve): Make sure escape_char is initialized,
+       even if w32-quote-process-args is nil.
+
 2013-01-27  Eli Zaretskii  <address@hidden>
 
        * w32.c (sys_open): Zero out the flags for the new file descriptor.

=== modified file 'src/w32proc.c'
--- a/src/w32proc.c     2013-01-01 09:11:05 +0000
+++ b/src/w32proc.c     2013-02-01 09:23:23 +0000
@@ -1431,7 +1431,6 @@
   child_process *cp;
   int is_dos_app, is_cygnus_app, is_gui_app;
   int do_quoting = 0;
-  char escape_char;
   /* We pass our process ID to our children by setting up an environment
      variable in their environment.  */
   char ppid_env_var_buffer[64];
@@ -1444,6 +1443,8 @@
      Some extra whitespace characters need quoting in Cygwin programs,
      so this list is conditionally modified below.  */
   char *sepchars = " \t*?";
+  /* This is for native w32 apps; modified below for Cygwin apps.  */
+  char escape_char = '\\';
 
   /* We don't care about the other modes */
   if (mode != _P_NOWAIT)


reply via email to

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