mirror of
https://github.com/open-simh/simh.git
synced 2026-01-14 23:56:22 +00:00
SCP: Fix potential infinite loop when EOF is encountered on stdin for hosts using BSDTTY tty I/O.
This commit is contained in:
parent
c083b45c14
commit
7258490c42
@ -2751,7 +2751,7 @@ return sim_ttcmd ();
|
||||
|
||||
static t_bool sim_os_ttisatty (void)
|
||||
{
|
||||
return isatty (0);
|
||||
return isatty (fileno (stdin));
|
||||
}
|
||||
|
||||
static t_stat sim_os_poll_kbd (void)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user