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

Diff for /src/usr.bin/ssh/sftp-server.c between version 1.29 and 1.30

version 1.29, 2001/06/25 08:25:40 version 1.30, 2001/07/31 12:42:50
Line 736 
Line 736 
                                 stats = xrealloc(stats, nstats * sizeof(Stat));                                  stats = xrealloc(stats, nstats * sizeof(Stat));
                         }                          }
 /* XXX OVERFLOW ? */  /* XXX OVERFLOW ? */
                         snprintf(pathname, sizeof pathname,                          snprintf(pathname, sizeof pathname, "%s%s%s", path,
                             "%s/%s", path, dp->d_name);                              strcmp(path, "/") ? "/" : "", dp->d_name);
                         if (lstat(pathname, &st) < 0)                          if (lstat(pathname, &st) < 0)
                                 continue;                                  continue;
                         stat_to_attrib(&st, &(stats[count].attrib));                          stat_to_attrib(&st, &(stats[count].attrib));

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30