# HG changeset patch # User Richard M. Stallman # Date 766125574 0 # Node ID e0680426ff8ed9a47db59fc5ab5d12985e22884f # Parent 69c4ca88cf5e5ddbd68621a5fcd37504a8b3a8c8 (send_process): Test pty_flag field for nil, not 0. diff -r 69c4ca88cf5e -r e0680426ff8e src/process.c --- 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);