]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] fix xconfig.
authorDave Jones <davej@suse.de>
Sun, 28 Apr 2002 11:55:26 +0000 (04:55 -0700)
committerJaroslav Kysela <perex@suse.cz>
Sun, 28 Apr 2002 11:55:26 +0000 (04:55 -0700)
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.

scripts/tkparse.c

index 241640f23cf37a1d4a28a8e53c33a7a998d68289..ddd1ad7e9a8bc63b432409313e8102ba1f1154f2 100644 (file)
@@ -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;