version 1.135, 2012/04/20 03:24:23 |
version 1.136, 2012/06/22 14:36:33 |
|
|
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; |
|
|
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) { |