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

Diff for /src/usr.bin/tmux/tty.c between version 1.310 and 1.311

version 1.310, 2018/10/25 15:13:38 version 1.311, 2018/11/19 13:35:41
Line 258 
Line 258 
         event_set(&tty->event_in, tty->fd, EV_PERSIST|EV_READ,          event_set(&tty->event_in, tty->fd, EV_PERSIST|EV_READ,
             tty_read_callback, tty);              tty_read_callback, tty);
         tty->in = evbuffer_new();          tty->in = evbuffer_new();
           if (tty->in == NULL)
                   fatal("out of memory");
   
         event_set(&tty->event_out, tty->fd, EV_WRITE, tty_write_callback, tty);          event_set(&tty->event_out, tty->fd, EV_WRITE, tty_write_callback, tty);
         tty->out = evbuffer_new();          tty->out = evbuffer_new();
           if (tty->out == NULL)
                   fatal("out of memory");
   
         evtimer_set(&tty->timer, tty_timer_callback, tty);          evtimer_set(&tty->timer, tty_timer_callback, tty);
   

Legend:
Removed from v.1.310  
changed lines
  Added in v.1.311