[PATCH util] Bumped -I flag limit in makedepend from 64 to 512.
David Boyce
boyski at users.sourceforge.net
Fri Dec 27 18:50:38 PST 2013
Clearly a limit of 64 -I flags is too low (we hit it); it might be
a good style recommendation but shouldn't be a hard limit.
512 is a fairly random replacement value.
---
def.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/def.h b/def.h
index 1930cde..2a7d28c 100644
--- a/def.h
+++ b/def.h
@@ -41,7 +41,7 @@ in this Software without prior written authorization from The Open Group.
#define MAXDEFINES 512
#define MAXFILES 2048
#define MAXINCFILES 128 /* "-include" files */
-#define MAXDIRS 64
+#define MAXDIRS 512 /* -I flags */
#define SYMTABINC 10 /* must be > 1 for define() to work right */
#define TRUE 1
#define FALSE 0
--
1.8.1.3
For our own purposes we could get by with a doubling to 128, but there
doesn't seem to be a substantial memory footprint issue here so the
maximum could go much higher. I picked 512 more or less at random.
More information about the xorg-devel
mailing list