[BACK]Return to io.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / talk

Diff for /src/usr.bin/talk/io.c between version 1.10 and 1.11

version 1.10, 2001/09/05 00:29:20 version 1.11, 2002/06/21 06:16:44
Line 56 
Line 56 
   
 #define A_LONG_TIME 10000000  #define A_LONG_TIME 10000000
   
   volatile sig_atomic_t gotwinch = 0;
   
 /*  /*
  * The routine to do the actual talking   * The routine to do the actual talking
  */   */
Line 94 
Line 96 
                 wait.tv_sec = A_LONG_TIME;                  wait.tv_sec = A_LONG_TIME;
                 wait.tv_usec = 0;                  wait.tv_usec = 0;
                 nb = select(maxfd + 1, &read_set, 0, 0, &wait);                  nb = select(maxfd + 1, &read_set, 0, 0, &wait);
                   if (gotwinch) {
                           resize_display();
                           gotwinch = 0;
                   }
                 if (nb <= 0) {                  if (nb <= 0) {
                         if (errno == EINTR) {                          if (errno == EINTR) {
                                 read_set = read_template;                                  read_set = read_template;

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11