comparison src/ntproc.c @ 367:a4f53d9b3154 r21-1-13

Import from CVS: tag r21-1-13
author cvs
date Mon, 13 Aug 2007 11:01:07 +0200
parents 4711e16a8e49
children cc15677e0335
comparison
equal deleted inserted replaced
366:83d76f480a59 367:a4f53d9b3154
57 /* #### I'm not going to play with shit. */ 57 /* #### I'm not going to play with shit. */
58 #pragma warning (disable:4013 4024 4090) 58 #pragma warning (disable:4013 4024 4090)
59 59
60 /* Control whether spawnve quotes arguments as necessary to ensure 60 /* Control whether spawnve quotes arguments as necessary to ensure
61 correct parsing by child process. Because not all uses of spawnve 61 correct parsing by child process. Because not all uses of spawnve
62 are careful about constructing argv arrays, we make this behaviour 62 are careful about constructing argv arrays, we make this behavior
63 conditional (off by default). */ 63 conditional (off by default). */
64 Lisp_Object Vwin32_quote_process_args; 64 Lisp_Object Vwin32_quote_process_args;
65 65
66 /* Control whether create_child causes the process' window to be 66 /* Control whether create_child causes the process' window to be
67 hidden. The default is nil. */ 67 hidden. The default is nil. */
717 last = p + strlen (p) - 1; 717 last = p + strlen (p) - 1;
718 *parg++ = '"'; 718 *parg++ = '"';
719 #if 0 719 #if 0
720 /* This version does not escape quotes if they occur at the 720 /* This version does not escape quotes if they occur at the
721 beginning or end of the arg - this could lead to incorrect 721 beginning or end of the arg - this could lead to incorrect
722 behaviour when the arg itself represents a command line 722 behavior when the arg itself represents a command line
723 containing quoted args. I believe this was originally done 723 containing quoted args. I believe this was originally done
724 as a hack to make some things work, before 724 as a hack to make some things work, before
725 `win32-quote-process-args' was added. */ 725 `win32-quote-process-args' was added. */
726 while (*p) 726 while (*p)
727 { 727 {