Commit 39992f07 authored by Dave Jones's avatar Dave Jones Committed by Jaroslav Kysela

[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.
parent 6194d871
...@@ -77,7 +77,7 @@ static void syntax_error( const char * msg ) ...@@ -77,7 +77,7 @@ static void syntax_error( const char * msg )
* Find index of a specyfic variable in the symbol table. * Find index of a specyfic variable in the symbol table.
* Create a new entry if it does not exist yet. * Create a new entry if it does not exist yet.
*/ */
#define VARTABLE_SIZE 2048 #define VARTABLE_SIZE 4096
struct variable vartable[VARTABLE_SIZE]; struct variable vartable[VARTABLE_SIZE];
int max_varnum = 0; int max_varnum = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment