[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 7406ae4c98: Fix broken build on Solaris 10 emacs_spawn
From: |
Paul Eggert |
Subject: |
master 7406ae4c98: Fix broken build on Solaris 10 emacs_spawn |
Date: |
Thu, 18 Aug 2022 02:13:18 -0400 (EDT) |
branch: master
commit 7406ae4c98fdbf9ea53444defcc75ee75e7e2668
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>
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.
---
src/callproc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/callproc.c b/src/callproc.c
index e8e4c48b5b..2d457b3c84 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,
#endif /* not DONT_REOPEN_PTY */
#ifdef SETUP_SLAVE_PTY
- if (pty_flag)
+ if (pty_in && std_in >= 0)
{
SETUP_SLAVE_PTY;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 7406ae4c98: Fix broken build on Solaris 10 emacs_spawn,
Paul Eggert <=