SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,16 @@
--- dir.c.orig Sat Jul 12 21:19:05 1997
+++ dir.c Fri Mar 23 21:59:00 2012
@@ -358,8 +358,11 @@ int setdir (struct dir *d, char *dirname)
d->topfile = d->curfile = 0;
- compdir = d;
- qsort ((char*)d->cat, (unsigned) d->num, sizeof (d->cat[0]), compfile);
+ if (d->sort != SORTSKIP) {
+ compdir = d;
+ qsort ((char*)d->cat, (unsigned) d->num,
+ sizeof (d->cat[0]), compfile);
+ }
if (! dirname) {
/* retag files, restore curfile */