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

Diff for /src/usr.bin/tmux/window.c between version 1.214 and 1.215

version 1.214, 2018/11/19 13:35:41 version 1.215, 2018/11/30 08:44:40
Line 921 
Line 921 
         sigprocmask(SIG_BLOCK, &set, &oldset);          sigprocmask(SIG_BLOCK, &set, &oldset);
         switch (wp->pid = fdforkpty(ptm_fd, &wp->fd, wp->tty, NULL, &ws)) {          switch (wp->pid = fdforkpty(ptm_fd, &wp->fd, wp->tty, NULL, &ws)) {
         case -1:          case -1:
                   wp->event = NULL;
                 wp->fd = -1;                  wp->fd = -1;
   
                 xasprintf(cause, "%s: %s", cmd, strerror(errno));                  xasprintf(cause, "%s: %s", cmd, strerror(errno));
Line 999 
Line 1000 
             window_pane_error_callback, wp);              window_pane_error_callback, wp);
         if (wp->event == NULL)          if (wp->event == NULL)
                 fatalx("out of memory");                  fatalx("out of memory");
   
           wp->pipe_off = 0;
           wp->flags &= ~PANE_EXITED;
   
         bufferevent_setwatermark(wp->event, EV_READ, 0, READ_SIZE);          bufferevent_setwatermark(wp->event, EV_READ, 0, READ_SIZE);
         bufferevent_enable(wp->event, EV_READ|EV_WRITE);          bufferevent_enable(wp->event, EV_READ|EV_WRITE);

Legend:
Removed from v.1.214  
changed lines
  Added in v.1.215