changeset 11513:41e01a3ef4f0

(child_setup): Reword "can't exec" message. Add newline after message. (Fcall_process): Call Fexpand_file_name for error_file.
author Richard M. Stallman <rms@gnu.org>
date Mon, 24 Apr 1995 05:51:40 +0000
parents a196f05240a9
children 321726163a65
files src/callproc.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Mon Apr 24 05:36:53 1995 +0000
+++ b/src/callproc.c	Mon Apr 24 05:51:40 1995 +0000
@@ -242,7 +242,8 @@
       if (CONSP (buffer))
 	{
 	  if (CONSP (XCONS (buffer)->cdr))
-	    error_file = XCONS (XCONS (buffer)->cdr)->car;
+	    error_file = Fexpand_file_name (XCONS (XCONS (buffer)->cdr)->car,
+					    Qnil);
 	  buffer = XCONS (buffer)->car;
 	}
 
@@ -820,8 +821,9 @@
   environ = env;
   execvp (new_argv[0], new_argv);
 
-  write (1, "Couldn't exec the program ", 26);
+  write (1, "Can't exec program: ", 26);
   write (1, new_argv[0], strlen (new_argv[0]));
+  write (1, "\n", 1);
   _exit (1);
 #endif /* not WINDOWSNT */
 #endif /* not MSDOS */