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

Diff for /src/usr.bin/tmux/job.c between version 1.65 and 1.66

version 1.65, 2021/10/11 10:55:30 version 1.66, 2021/10/24 21:24:17
Line 142 
Line 142 
                                 close(out[1]);                                  close(out[1]);
                         close(out[0]);                          close(out[0]);
   
                         nullfd = open(_PATH_DEVNULL, O_RDWR, 0);                          nullfd = open(_PATH_DEVNULL, O_RDWR);
                         if (nullfd == -1)                          if (nullfd == -1)
                                 fatal("open failed");                                  fatal("open failed");
                         if (dup2(nullfd, STDERR_FILENO) == -1)                          if (dup2(nullfd, STDERR_FILENO) == -1)

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.66