Mercurial > emacs
changeset 6823:e0680426ff8e
(send_process): Test pty_flag field for nil, not 0.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 12 Apr 1994 04:39:34 +0000 |
parents | 69c4ca88cf5e |
children | ec94aee0bf55 |
files | src/process.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Tue Apr 12 04:26:57 1994 +0000 +++ b/src/process.c Tue Apr 12 04:39:34 1994 +0000 @@ -2289,7 +2289,7 @@ /* Don't send more than pty_max_bytes bytes at a time. */ /* Subtract 1 to leave room for the EOF. */ - if (this >= pty_max_bytes && XPROCESS (proc)->pty_flag != 0) + if (this >= pty_max_bytes && !NILP (XPROCESS (proc)->pty_flag)) this = pty_max_bytes - 1; old_sigpipe = (SIGTYPE (*) ()) signal (SIGPIPE, send_process_trap);