diff options
| author | Stefan Monnier | 2001-10-12 03:37:43 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-10-12 03:37:43 +0000 |
| commit | c0ec53ad99ba41fca0f34440c232c8ad203f4259 (patch) | |
| tree | cad8633f767ceaed67cf3788e59e21c344ea695d /src/process.c | |
| parent | b81a1b72a82185bc426d31f914a5d3d7fee14c4e (diff) | |
| download | emacs-c0ec53ad99ba41fca0f34440c232c8ad203f4259.tar.gz emacs-c0ec53ad99ba41fca0f34440c232c8ad203f4259.zip | |
Update calls to openp.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c index 474b21f2476..d9eab3f097b 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1196,7 +1196,7 @@ Remaining arguments are strings to give program as arguments.") | |||
| 1196 | 1196 | ||
| 1197 | tem = Qnil; | 1197 | tem = Qnil; |
| 1198 | GCPRO4 (name, program, buffer, current_dir); | 1198 | GCPRO4 (name, program, buffer, current_dir); |
| 1199 | openp (Vexec_path, program, EXEC_SUFFIXES, &tem, 1); | 1199 | openp (Vexec_path, program, Vexec_suffixes, &tem, 1); |
| 1200 | UNGCPRO; | 1200 | UNGCPRO; |
| 1201 | if (NILP (tem)) | 1201 | if (NILP (tem)) |
| 1202 | report_file_error ("Searching for program", Fcons (program, Qnil)); | 1202 | report_file_error ("Searching for program", Fcons (program, Qnil)); |
| @@ -3386,8 +3386,8 @@ send_process (proc, buf, len, object) | |||
| 3386 | Long lines need to be split into multiple batches. */ | 3386 | Long lines need to be split into multiple batches. */ |
| 3387 | if (!NILP (XPROCESS (proc)->pty_flag)) | 3387 | if (!NILP (XPROCESS (proc)->pty_flag)) |
| 3388 | { | 3388 | { |
| 3389 | /* Starting this at zero is always correct when not the first iteration | 3389 | /* Starting this at zero is always correct when not the first |
| 3390 | because the previous iteration ended by sending C-d. | 3390 | iteration because the previous iteration ended by sending C-d. |
| 3391 | It may not be correct for the first iteration | 3391 | It may not be correct for the first iteration |
| 3392 | if a partial line was sent in a separate send_process call. | 3392 | if a partial line was sent in a separate send_process call. |
| 3393 | If that proves worth handling, we need to save linepos | 3393 | If that proves worth handling, we need to save linepos |