summaryrefslogtreecommitdiff
path: root/misc/deco/files/patch-dir.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 01:16:45 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 01:16:45 +0000
commit0d36ec3c7937d274f501258ddf1798b05e4f33c2 (patch)
treeb35c705d3b36af5129c9a15430528661add3b428 /misc/deco/files/patch-dir.c
parentStage net-mgmt/routers2-extras and cleanup (diff)
Rename misc/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363282
Diffstat (limited to 'misc/deco/files/patch-dir.c')
-rw-r--r--misc/deco/files/patch-dir.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/deco/files/patch-dir.c b/misc/deco/files/patch-dir.c
new file mode 100644
index 000000000000..7d31bcbbe06f
--- /dev/null
+++ b/misc/deco/files/patch-dir.c
@@ -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 */