* remote-hms.c (hms_wait): use -1 for timeout's which means block

forever rather than 99999.
This commit is contained in:
K. Richard Pixley 1993-08-13 21:49:51 +00:00
parent 057c2f4773
commit e93790f05e
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
Fri Aug 13 14:37:05 1993 K. Richard Pixley (rich@sendai.cygnus.com) Fri Aug 13 14:37:05 1993 K. Richard Pixley (rich@sendai.cygnus.com)
* remote-hms.c (hms_wait): use -1 for timeout's which means block
forever rather than 99999.
* ser-unix.c (get_tty_state): if a descriptor is not a tty, then * ser-unix.c (get_tty_state): if a descriptor is not a tty, then
simply save encode this fact as the process group and return simply save encode this fact as the process group and return
success rather than an error. success rather than an error.

View file

@ -702,7 +702,7 @@ hms_wait (status)
return 0; return 0;
} }
timeout = 99999; /* Don't time out -- user program is running. */ timeout = -1; /* Don't time out -- user program is running. */
immediate_quit = 1; /* Helps ability to QUIT */ immediate_quit = 1; /* Helps ability to QUIT */
while (1) while (1)
{ {