aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index ed80460286a..d52f52bcdfd 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1034,7 +1034,7 @@ Remaining arguments are strings to give program as arguments.")
1034 if (new_argv[0][0] != '/') 1034 if (new_argv[0][0] != '/')
1035 { 1035 {
1036 tem = Qnil; 1036 tem = Qnil;
1037 openp (Vexec_path, program, "", &tem, 1); 1037 openp (Vexec_path, program, EXEC_SUFFIXES, &tem, 1);
1038 if (NILP (tem)) 1038 if (NILP (tem))
1039 report_file_error ("Searching for program", Fcons (program, Qnil)); 1039 report_file_error ("Searching for program", Fcons (program, Qnil));
1040 new_argv[0] = XSTRING (tem)->data; 1040 new_argv[0] = XSTRING (tem)->data;
@@ -2597,7 +2597,7 @@ nil, indicating the current buffer's process.")
2597 else 2597 else
2598 { 2598 {
2599 close (XPROCESS (proc)->outfd); 2599 close (XPROCESS (proc)->outfd);
2600 XFASTINT (XPROCESS (proc)->outfd) = open ("/dev/null", O_WRONLY); 2600 XFASTINT (XPROCESS (proc)->outfd) = open (NULL_DEVICE, O_WRONLY);
2601 } 2601 }
2602#endif /* VMS */ 2602#endif /* VMS */
2603#endif /* did not do TOICREMOTE */ 2603#endif /* did not do TOICREMOTE */