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

Diff for /src/usr.bin/ssh/scp.c between version 1.141 and 1.142

version 1.141, 2006/04/01 05:50:29 version 1.142, 2006/05/17 12:43:34
Line 189 
Line 189 
          * Reserve two descriptors so that the real pipes won't get           * Reserve two descriptors so that the real pipes won't get
          * descriptors 0 and 1 because that will screw up dup2 below.           * descriptors 0 and 1 because that will screw up dup2 below.
          */           */
         pipe(reserved);          if (pipe(reserved) < 0)
                   fatal("pipe: %s", strerror(errno));
   
         /* Create a socket pair for communicating with ssh. */          /* Create a socket pair for communicating with ssh. */
         if (pipe(pin) < 0)          if (pipe(pin) < 0)
Line 490 
Line 491 
                         source(1, argv + i);                          source(1, argv + i);
                 }                  }
         }          }
           xfree(arg);
 }  }
   
 void  void

Legend:
Removed from v.1.141  
changed lines
  Added in v.1.142