diff options
author | hubertf <hubertf> | 2000-12-14 01:10:42 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-12-14 01:10:42 +0000 |
commit | 285fe3417a671a4ecf2386c199ac802aee137d4e (patch) | |
tree | d8216d0906c1c3c4a2c56cf638f3c270d90653ac /sysutils/xdu/patches/patch-aa | |
parent | b37f5c97cb2eff2850bbf6dcb922e79adc5135ed (diff) | |
download | pkgsrc-285fe3417a671a4ecf2386c199ac802aee137d4e.tar.gz |
Aparently a directory tree can only be 8 directories deep on VMS.
It seems if you goof up enough it's no problem do ending with >80
on Unix. Make xdu deal with this properly.
Bump version to 3.0nb1
Diffstat (limited to 'sysutils/xdu/patches/patch-aa')
-rw-r--r-- | sysutils/xdu/patches/patch-aa | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/xdu/patches/patch-aa b/sysutils/xdu/patches/patch-aa new file mode 100644 index 00000000000..150a2de7a6c --- /dev/null +++ b/sysutils/xdu/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1 2000/12/14 01:10:43 hubertf Exp $ + +--- xdu.c.orig Wed Dec 13 23:18:33 2000 ++++ xdu.c +@@ -24,8 +24,8 @@ + + extern char *malloc(), *calloc(); + +-#define MAXDEPTH 80 /* max elements in a path */ +-#define MAXNAME 1024 /* max pathname element length */ ++#define MAXDEPTH 1024 /* max elements in a path */ ++#define MAXNAME 4096 /* max pathname element length */ + #define MAXPATH 4096 /* max total pathname length */ + #define NCOLS 5 /* default number of columns in display */ + |