diff src/process.c @ 39812:66e0816837a8

Update calls to openp.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 12 Oct 2001 03:37:43 +0000
parents 9de129194439
children 4ca5cbe5610d
line wrap: on
line diff
--- a/src/process.c	Fri Oct 12 03:23:25 2001 +0000
+++ b/src/process.c	Fri Oct 12 03:37:43 2001 +0000
@@ -1196,7 +1196,7 @@
 
       tem = Qnil;
       GCPRO4 (name, program, buffer, current_dir);
-      openp (Vexec_path, program, EXEC_SUFFIXES, &tem, 1);
+      openp (Vexec_path, program, Vexec_suffixes, &tem, 1);
       UNGCPRO;
       if (NILP (tem))
 	report_file_error ("Searching for program", Fcons (program, Qnil));
@@ -3386,8 +3386,8 @@
 	     Long lines need to be split into multiple batches.  */
 	  if (!NILP (XPROCESS (proc)->pty_flag))
 	    {
-	      /* Starting this at zero is always correct when not the first iteration
-		 because the previous iteration ended by sending C-d.
+	      /* Starting this at zero is always correct when not the first
+                 iteration because the previous iteration ended by sending C-d.
 		 It may not be correct for the first iteration
 		 if a partial line was sent in a separate send_process call.
 		 If that proves worth handling, we need to save linepos