mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
903f375741
This makes output look right (the same as in `ls -f' case).
13 lines
250 B
Plaintext
13 lines
250 B
Plaintext
Index: dir.c
|
|
@@ -358,8 +358,10 @@
|
|
|
|
d->topfile = d->curfile = 0;
|
|
|
|
+ if (d->sort != SORTSKIP) {
|
|
compdir = d;
|
|
qsort ((char*)d->cat, (unsigned) d->num, sizeof (d->cat[0]), compfile);
|
|
+ }
|
|
|
|
if (! dirname) {
|
|
/* retag files, restore curfile */
|