comparison src/process.c @ 104724:8bd22a0db033

*** empty log message ***
author Nick Roberts <nickrob@snap.net.nz>
date Sun, 30 Aug 2009 05:00:59 +0000
parents 1eb83f01c48d
children d6307924111b
comparison
equal deleted inserted replaced
104723:1eb83f01c48d 104724:8bd22a0db033
5149 got lost. So raise the signal again just in case. 5149 got lost. So raise the signal again just in case.
5150 It can't hurt. */ 5150 It can't hurt. */
5151 else if (nread == -1 && errno == EIO) 5151 else if (nread == -1 && errno == EIO)
5152 { 5152 {
5153 /* Clear the descriptor now, so we only raise the 5153 /* Clear the descriptor now, so we only raise the
5154 signal once. Don't do this is `process' is only 5154 signal once. Don't do this if `process' is only
5155 a pty. */ 5155 a pty. */
5156 if (XPROCESS (proc)->pid != -2) 5156 if (XPROCESS (proc)->pid != -2)
5157 { 5157 {
5158 FD_CLR (channel, &input_wait_mask); 5158 FD_CLR (channel, &input_wait_mask);
5159 FD_CLR (channel, &non_keyboard_wait_mask); 5159 FD_CLR (channel, &non_keyboard_wait_mask);