Return to sftp.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.67, 2005/09/13 23:40:07 | version 1.68, 2005/10/31 06:15:04 | ||
---|---|---|---|
|
|
||
} | } | ||
if (lflag & SORT_FLAGS) { | if (lflag & SORT_FLAGS) { | ||
for (n = 0; d[n] != NULL; n++) | |||
; /* count entries */ | |||
sort_flag = lflag & (SORT_FLAGS|LS_REVERSE_SORT); | sort_flag = lflag & (SORT_FLAGS|LS_REVERSE_SORT); | ||
qsort(d, n, sizeof(*d), sdirent_comp); | qsort(d, n, sizeof(*d), sdirent_comp); | ||
} | } |