diff options
author | ache <ache@FreeBSD.org> | 2004-06-10 10:17:34 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2004-06-10 10:17:34 +0800 |
commit | 6ec7604e7ec5bb911a86184eaaeef31e401e078d (patch) | |
tree | 2a3d3668eac6adfc5d14c593c9e95964d795eb69 /ftp | |
parent | 1acb6597378d3b189f3dbc4d3a50d1843dce65b9 (diff) | |
download | freebsd-ports-gnome-6ec7604e7ec5bb911a86184eaaeef31e401e078d.tar.gz freebsd-ports-gnome-6ec7604e7ec5bb911a86184eaaeef31e401e078d.tar.zst freebsd-ports-gnome-6ec7604e7ec5bb911a86184eaaeef31e401e078d.zip |
Increase args size for big listings
PR: 44019
Submitted by: Cejka Rudolf <cejkar@fit.vutbr.cz>
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/wu-ftpd/Makefile | 4 | ||||
-rw-r--r-- | ftp/wu-ftpd/files/patch-ap | 29 |
2 files changed, 28 insertions, 5 deletions
diff --git a/ftp/wu-ftpd/Makefile b/ftp/wu-ftpd/Makefile index 9b5e238f994d..2a794cf508e0 100644 --- a/ftp/wu-ftpd/Makefile +++ b/ftp/wu-ftpd/Makefile @@ -8,8 +8,8 @@ # it is changed from previous versions PORTNAME= wu-ftpd -PORTVERSION= 2.6.2 -PORTREVISION= 4 +PORTVERSION= 2.6.2 +PORTREVISION= 5 CATEGORIES= ftp MASTER_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/ PATCH_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/patches/apply_to_2.6.2/ diff --git a/ftp/wu-ftpd/files/patch-ap b/ftp/wu-ftpd/files/patch-ap index 68357225ffe0..852d49fc1120 100644 --- a/ftp/wu-ftpd/files/patch-ap +++ b/ftp/wu-ftpd/files/patch-ap @@ -1,6 +1,20 @@ ---- src/glob.c.old Sat Jul 1 22:17:39 2000 -+++ src/glob.c Wed Nov 28 13:42:26 2001 -@@ -112,7 +118,7 @@ +--- src/glob.c.old Thu Nov 29 20:01:38 2001 ++++ src/glob.c Thu Jun 10 06:13:51 2004 +@@ -45,10 +45,12 @@ + + #include "proto.h" + ++#define ARGSIZ (524288) ++ + #define QUOTE 0200 + #define TRIM 0177 + #define eq(a,b) (strcmp(a, b)==0) +-#define GAVSIZ (NCARGS/6) ++#define GAVSIZ (ARGSIZ/6) + #define isdir(d) ((d.st_mode & S_IFMT) == S_IFDIR) + + static char **gargv; /* Pointer to the (stack) arglist */ +@@ -112,7 +114,7 @@ fixpath(v); if (v[0] == '\0') @@ -9,3 +23,12 @@ else if ((strlen(v) > 1) && (v[strlen(v) - 1] == '/')) v[strlen(v) - 1] = '\0'; +@@ -149,7 +151,7 @@ + gargv = agargv; + sortbas = agargv; + gargc = 0; +- gnleft = NCARGS - 4; ++ gnleft = ARGSIZ - 4; + } + + static void collect(register char *as) |