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

Diff for /src/usr.bin/ssh/sftp.c between version 1.55 and 1.56

version 1.55, 2004/06/25 23:21:38 version 1.56, 2004/07/11 17:48:47
Line 1323 
Line 1323 
   
                 /*                  /*
                  * The underlying ssh is in the same process group, so we must                   * The underlying ssh is in the same process group, so we must
                  * ignore SIGINT if we want to gracefully abort commands,                   * ignore SIGINT if we want to gracefully abort commands,
                  * otherwise the signal will make it to the ssh process and                   * otherwise the signal will make it to the ssh process and
                  * kill it too                   * kill it too
                  */                   */
                 signal(SIGINT, SIG_IGN);                  signal(SIGINT, SIG_IGN);
Line 1409 
Line 1409 
                                 fatal("Batch file already specified.");                                  fatal("Batch file already specified.");
   
                         /* Allow "-" as stdin */                          /* Allow "-" as stdin */
                         if (strcmp(optarg, "-") != 0 &&                          if (strcmp(optarg, "-") != 0 &&
                            (infile = fopen(optarg, "r")) == NULL)                             (infile = fopen(optarg, "r")) == NULL)
                                 fatal("%s (%s).", strerror(errno), optarg);                                  fatal("%s (%s).", strerror(errno), optarg);
                         showprogress = 0;                          showprogress = 0;

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56