emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/callproc.c


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/src/callproc.c
Date: Fri, 23 Aug 2002 23:14:32 -0400

Index: emacs/src/callproc.c
diff -c emacs/src/callproc.c:1.194 emacs/src/callproc.c:1.195
*** emacs/src/callproc.c:1.194  Mon Jul 22 16:05:37 2002
--- emacs/src/callproc.c        Fri Aug 23 23:14:32 2002
***************
*** 389,394 ****
--- 389,401 ----
        emacs_close (filefd);
        report_file_error ("Searching for program", Fcons (args[0], Qnil));
      }
+ 
+   /* If program file name starts with /: for quoting a magic name,
+      discard that.  */
+   if (SBYTES (path) > 2 && SREF (path, 0) == '/'
+       && SREF (path, 1) == ':')
+     path = Fsubstring (path, make_number (2), Qnil);
+ 
    new_argv[0] = SDATA (path);
    if (nargs > 4)
      {




reply via email to

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