[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.91 and 1.92

version 1.91, 2010/09/11 16:20:58 version 1.92, 2010/10/16 08:31:55
Line 61 
Line 61 
                 tty->termname = xstrdup("unknown");                  tty->termname = xstrdup("unknown");
         else          else
                 tty->termname = xstrdup(term);                  tty->termname = xstrdup(term);
   
         if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)  
                 fatal("fcntl failed");  
         tty->fd = fd;          tty->fd = fd;
   
         if ((path = ttyname(fd)) == NULL)          if ((path = ttyname(fd)) == NULL)

Legend:
Removed from v.1.91  
changed lines
  Added in v.1.92