diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2000-06-08 15:20:46 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2000-06-08 15:20:46 +0000 |
commit | 903f3757415ec3509253d836f573da1a913d50b0 (patch) | |
tree | f20913baf6f2a38281e3f4cda675bd9b33f12f5c /misc/deco/files/patch-ad | |
parent | Reflect new location of personal distfiles. (diff) |
Do not sort directory entries when `Unsorted' is selected.
This makes output look right (the same as in `ls -f' case).
Notes
Notes:
svn path=/head/; revision=29398
Diffstat (limited to 'misc/deco/files/patch-ad')
-rw-r--r-- | misc/deco/files/patch-ad | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/deco/files/patch-ad b/misc/deco/files/patch-ad new file mode 100644 index 000000000000..7d31bcbbe06f --- /dev/null +++ b/misc/deco/files/patch-ad @@ -0,0 +1,12 @@ +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 */ |