comparison 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
comparison
equal deleted inserted replaced
2872:0ab5a9f88ff3 2873:f1cd54cf1b67
1239 #ifdef BSD4_1 1239 #ifdef BSD4_1
1240 if (interrupt_input) 1240 if (interrupt_input)
1241 reset_sigio (); 1241 reset_sigio ();
1242 #endif /* BSD4_1 */ 1242 #endif /* BSD4_1 */
1243 1243
1244 while (! EMACS_SET_TTY (input_fd, &old_tty, 0) && errno == EINTR) 1244 while (EMACS_SET_TTY (input_fd, &old_tty, 0) < 0 && errno == EINTR)
1245 ; 1245 ;
1246 1246
1247 #ifdef AIX 1247 #ifdef AIX
1248 hft_reset (); 1248 hft_reset ();
1249 #endif 1249 #endif