diff options
| author | Paul Eggert | 2022-08-17 23:12:55 -0700 |
|---|---|---|
| committer | Paul Eggert | 2022-08-17 23:12:55 -0700 |
| commit | 7406ae4c98fdbf9ea53444defcc75ee75e7e2668 (patch) | |
| tree | 11d52b969795f8bdf1ff651d6813188cecaaaf78 /src | |
| parent | 9a3f64f4061129b2064ab5bd9d58fa2c49dccbe8 (diff) | |
| download | emacs-7406ae4c98fdbf9ea53444defcc75ee75e7e2668.tar.gz emacs-7406ae4c98fdbf9ea53444defcc75ee75e7e2668.zip | |
Fix broken build on Solaris 10 emacs_spawn
* src/callproc.c (emacs_spawn) [SETUP_SLAVE_TTY]:
pty_flag no longer exists. Use pty_in && std_in >= 0,
which at least compiles.
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c index e8e4c48b5be..2d457b3c84c 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -1574,7 +1574,7 @@ emacs_spawn (pid_t *newpid, int std_in, int std_out, int std_err, | |||
| 1574 | #endif /* not DONT_REOPEN_PTY */ | 1574 | #endif /* not DONT_REOPEN_PTY */ |
| 1575 | 1575 | ||
| 1576 | #ifdef SETUP_SLAVE_PTY | 1576 | #ifdef SETUP_SLAVE_PTY |
| 1577 | if (pty_flag) | 1577 | if (pty_in && std_in >= 0) |
| 1578 | { | 1578 | { |
| 1579 | SETUP_SLAVE_PTY; | 1579 | SETUP_SLAVE_PTY; |
| 1580 | } | 1580 | } |