diff options
| author | Richard M. Stallman | 1994-04-12 04:39:34 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-12 04:39:34 +0000 |
| commit | 1cac1fffd2e7e23b04569b7c46390c827d9f014f (patch) | |
| tree | 78c514015dc7ddb7db460767965ae763fd706f5c /src | |
| parent | b8952f887d1d22c4910eef2888a8e47ec288e1a5 (diff) | |
| download | emacs-1cac1fffd2e7e23b04569b7c46390c827d9f014f.tar.gz emacs-1cac1fffd2e7e23b04569b7c46390c827d9f014f.zip | |
(send_process): Test pty_flag field for nil, not 0.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index d81b7c9fbab..971d2cba71b 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -2289,7 +2289,7 @@ send_process (proc, buf, len) | |||
| 2289 | 2289 | ||
| 2290 | /* Don't send more than pty_max_bytes bytes at a time. */ | 2290 | /* Don't send more than pty_max_bytes bytes at a time. */ |
| 2291 | /* Subtract 1 to leave room for the EOF. */ | 2291 | /* Subtract 1 to leave room for the EOF. */ |
| 2292 | if (this >= pty_max_bytes && XPROCESS (proc)->pty_flag != 0) | 2292 | if (this >= pty_max_bytes && !NILP (XPROCESS (proc)->pty_flag)) |
| 2293 | this = pty_max_bytes - 1; | 2293 | this = pty_max_bytes - 1; |
| 2294 | 2294 | ||
| 2295 | old_sigpipe = (SIGTYPE (*) ()) signal (SIGPIPE, send_process_trap); | 2295 | old_sigpipe = (SIGTYPE (*) ()) signal (SIGPIPE, send_process_trap); |