[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.135 and 1.136

version 1.135, 2012/04/20 03:24:23 version 1.136, 2012/06/22 14:36:33
Line 760 
Line 760 
 do_globbed_ls(struct sftp_conn *conn, char *path, char *strip_path,  do_globbed_ls(struct sftp_conn *conn, char *path, char *strip_path,
     int lflag)      int lflag)
 {  {
         Attrib *a = NULL;  
         char *fname, *lname;          char *fname, *lname;
         glob_t g;          glob_t g;
         int err;          int err;
Line 806 
Line 805 
                 colspace = width / columns;                  colspace = width / columns;
         }          }
   
         for (i = 0; g.gl_pathv[i] && !interrupted; i++, a = NULL) {          for (i = 0; g.gl_pathv[i] && !interrupted; i++) {
                 fname = path_strip(g.gl_pathv[i], strip_path);                  fname = path_strip(g.gl_pathv[i], strip_path);
                 if (lflag & LS_LONG_VIEW) {                  if (lflag & LS_LONG_VIEW) {
                         if (g.gl_statv[i] == NULL) {                          if (g.gl_statv[i] == NULL) {

Legend:
Removed from v.1.135  
changed lines
  Added in v.1.136