[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.81 and 1.82

version 1.81, 2001/01/13 19:14:09 version 1.82, 2001/01/15 21:40:10
Line 505 
Line 505 
         /* Do not allocate a tty if stdin is not a tty. */          /* Do not allocate a tty if stdin is not a tty. */
         if (!isatty(fileno(stdin)) && !force_tty_flag) {          if (!isatty(fileno(stdin)) && !force_tty_flag) {
                 if (tty_flag)                  if (tty_flag)
                         fprintf(stderr, "Pseudo-terminal will not be allocated because stdin is not a terminal.\n");                          log("Pseudo-terminal will not be allocated because stdin is not a terminal.\n");
                 tty_flag = 0;                  tty_flag = 0;
         }          }
   
         /* Get user data. */          /* Get user data. */
         pw = getpwuid(original_real_uid);          pw = getpwuid(original_real_uid);
         if (!pw) {          if (!pw) {
                 fprintf(stderr, "You don't exist, go away!\n");                  log("You don't exist, go away!\n");
                 exit(1);                  exit(1);
         }          }
         /* Take a copy of the returned structure. */          /* Take a copy of the returned structure. */

Legend:
Removed from v.1.81  
changed lines
  Added in v.1.82