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

Diff for /src/usr.bin/ssh/ssh.c between version 1.267 and 1.268

version 1.267, 2006/03/19 18:51:18 version 1.268, 2006/03/19 18:59:30
Line 1284 
Line 1284 
                             strerror(errno));                              strerror(errno));
                 }                  }
                 if (errno == ENOENT)                  if (errno == ENOENT)
                         debug("Control socket \"%.100s\" does not exist", path);                          debug("Control socket \"%.100s\" does not exist", path);
                 else {                  else {
                         error("Control socket connect(%.100s): %s", path,                          error("Control socket connect(%.100s): %s", path,
                             strerror(errno));                              strerror(errno));
                 }                  }
                 close(sock);                  close(sock);
                 return;                  return;
         }          }
   
         if (stdin_null_flag) {          if (stdin_null_flag) {
                 if ((fd = open(_PATH_DEVNULL, O_RDONLY)) == -1)                  if ((fd = open(_PATH_DEVNULL, O_RDONLY)) == -1)
                         fatal("open(/dev/null): %s", strerror(errno));                          fatal("open(/dev/null): %s", strerror(errno));
                 if (dup2(fd, STDIN_FILENO) == -1)                  if (dup2(fd, STDIN_FILENO) == -1)
                         fatal("dup2: %s", strerror(errno));                          fatal("dup2: %s", strerror(errno));
                 if (fd > STDERR_FILENO)                  if (fd > STDERR_FILENO)
                         close(fd);                          close(fd);
         }          }
   
         term = getenv("TERM");          term = getenv("TERM");
   

Legend:
Removed from v.1.267  
changed lines
  Added in v.1.268