[BACK]Return to server-client.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/server-client.c between version 1.99 and 1.100

version 1.99, 2013/03/27 11:17:12 version 1.100, 2013/04/10 11:51:16
Line 534 
Line 534 
         ws.ws_col = wp->sx;          ws.ws_col = wp->sx;
         ws.ws_row = wp->sy;          ws.ws_row = wp->sy;
   
         if (ioctl(wp->fd, TIOCSWINSZ, &ws) == -1) {          if (ioctl(wp->fd, TIOCSWINSZ, &ws) == -1)
 #ifdef __sun  
                 /*  
                  * Some versions of Solaris apparently can return an error when  
                  * resizing; don't know why this happens, can't reproduce on  
                  * other platforms and ignoring it doesn't seem to cause any  
                  * issues.  
                  */  
                 if (errno != EINVAL)  
 #endif  
                 fatal("ioctl failed");                  fatal("ioctl failed");
         }  
   
         wp->flags &= ~PANE_RESIZE;          wp->flags &= ~PANE_RESIZE;
 }  }

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.100