Mercurial > emacs
diff src/sysdep.c @ 2873:f1cd54cf1b67
* sysdep.c (reset_sys_modes): Test the return value of
EMACS_SET_TTY properly.
* systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Document the return
values.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 18 May 1993 22:45:29 +0000 |
parents | 93eda11d38de |
children | 409c1022bad5 |
line wrap: on
line diff
--- a/src/sysdep.c Tue May 18 22:44:27 1993 +0000 +++ b/src/sysdep.c Tue May 18 22:45:29 1993 +0000 @@ -1241,7 +1241,7 @@ reset_sigio (); #endif /* BSD4_1 */ - while (! EMACS_SET_TTY (input_fd, &old_tty, 0) && errno == EINTR) + while (EMACS_SET_TTY (input_fd, &old_tty, 0) < 0 && errno == EINTR) ; #ifdef AIX