diff src/callproc.c @ 274:ca9a9ec9c1c1 r21-0b35

Import from CVS: tag r21-0b35
author cvs
date Mon, 13 Aug 2007 10:29:42 +0200
parents c5d627a313b1
children 6330739388db
line wrap: on
line diff
--- a/src/callproc.c	Mon Aug 13 10:28:54 2007 +0200
+++ b/src/callproc.c	Mon Aug 13 10:29:42 2007 +0200
@@ -881,9 +881,13 @@
     */
     if (sh)
       {
+#if 0 /* This breaks everything -kkm */
 	tem = (char *) alloca (strlen (sh) + 1);
 	dostounix_filename (strcpy (tem, sh));
 	Vshell_file_name = build_string (tem);
+#else
+	Vshell_file_name = build_string (sh);
+#endif
       }
     /*
     ** Odd, no COMSPEC, so let's default to our
@@ -891,7 +895,7 @@
     */
     else
       {
-	Vshell_file_name = build_string ("/WINNT/system32/cmd.exe");
+	Vshell_file_name = build_string ("\\WINNT\\system32\\cmd.exe");
       }
   }
 #else /* not WINDOWSNT */