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

Diff for /src/usr.bin/ssh/Attic/sftp-int.c between version 1.37 and 1.38

version 1.37, 2001/06/23 15:12:20 version 1.38, 2001/07/09 07:04:53
Line 165 
Line 165 
                 /* XXX: child has pipe fds to ssh subproc open - issue? */                  /* XXX: child has pipe fds to ssh subproc open - issue? */
                 if (args) {                  if (args) {
                         debug3("Executing %s -c \"%s\"", shell, args);                          debug3("Executing %s -c \"%s\"", shell, args);
                         execl(shell, shell, "-c", args, NULL);                          execl(shell, shell, "-c", args, (char *)NULL);
                 } else {                  } else {
                         debug3("Executing %s", shell);                          debug3("Executing %s", shell);
                         execl(shell, shell, NULL);                          execl(shell, shell, (char *)NULL);
                 }                  }
                 fprintf(stderr, "Couldn't execute \"%s\": %s\n", shell,                  fprintf(stderr, "Couldn't execute \"%s\": %s\n", shell,
                     strerror(errno));                      strerror(errno));

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38