changeset 2287:907efc217cfe

* sysdep.c (reset_sys_modes): Fix usage of EMACS_SET_TTY.
author Jim Blandy <jimb@redhat.com>
date Sat, 20 Mar 1993 22:21:12 +0000
parents 7f66b40a0192
children c6f3343edee1
files src/sysdep.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Sat Mar 20 21:53:57 1993 +0000
+++ b/src/sysdep.c	Sat Mar 20 22:21:12 1993 +0000
@@ -1102,7 +1102,7 @@
     reset_sigio ();
 #endif /* BSD4_1 */
 
-  while (EMACS_SET_TTY (input_fd, &old_tty, 0) < 0 && errno == EINTR)
+  while (! EMACS_SET_TTY (input_fd, &old_tty, 0) && errno == EINTR)
     ;
 
 #ifdef AIX