[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.74 and 1.75

version 1.74, 2000/11/23 21:03:47 version 1.75, 2000/11/30 07:02:35
Line 504 
Line 504 
         if (buffer_len(&command) == 0)          if (buffer_len(&command) == 0)
                 tty_flag = 1;                  tty_flag = 1;
   
           /* Force no tty*/
           if (no_tty_flag)
                   tty_flag = 0;
         /* 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))) {          if (!isatty(fileno(stdin))) {
                 if (tty_flag)                  if (tty_flag)
                         fprintf(stderr, "Pseudo-terminal will not be allocated because stdin is not a terminal.\n");                          fprintf(stderr, "Pseudo-terminal will not be allocated because stdin is not a terminal.\n");
                 tty_flag = 0;                  tty_flag = 0;
         }          }
         /* force */  
         if (no_tty_flag)  
                 tty_flag = 0;  
   
         /* Get user data. */          /* Get user data. */
         pw = getpwuid(original_real_uid);          pw = getpwuid(original_real_uid);

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75