summaryrefslogtreecommitdiff
path: root/scripts/tkparse.c
diff options
context:
space:
mode:
authorDave Jones <davej@suse.de>2002-04-28 04:55:26 -0700
committerJaroslav Kysela <perex@suse.cz>2002-04-28 04:55:26 -0700
commit39992f07a794e0b6faeaf8d46411ec615e392115 (patch)
tree05339f34fd9592dbe885b36b985f3141f9a94f43 /scripts/tkparse.c
parent6194d871ac709c2e3966a3eebb184cbe4dfcbe13 (diff)
[PATCH] fix xconfig.
We now have so many CONFIG_ options we overflow a buffer in xconfig. Doubling the size should see us until someone either writes a replacement, or can be bothered to make it dynamically allocate.
Diffstat (limited to 'scripts/tkparse.c')
-rw-r--r--scripts/tkparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tkparse.c b/scripts/tkparse.c
index 241640f23cf3..ddd1ad7e9a8b 100644
--- a/scripts/tkparse.c
+++ b/scripts/tkparse.c
@@ -77,7 +77,7 @@ static void syntax_error( const char * msg )
* Find index of a specyfic variable in the symbol table.
* Create a new entry if it does not exist yet.
*/
-#define VARTABLE_SIZE 2048
+#define VARTABLE_SIZE 4096
struct variable vartable[VARTABLE_SIZE];
int max_varnum = 0;