Browse files

busybox: Allow lines in .config to be > 1024 characters

With the new compiler flags added, the CONFIG_EXTRA_CFLAGS
parameter in .config can become larger than 1024 characters,
resulting in a parse error.
This patch allows lines up to 4096 characters, that should
be enough even after adding some more flags.

Signed-off-by: Bernhard Rosenkraenzer <>
  • Loading branch information...
1 parent 41f2ed9 commit e41555c875df91dd43ba70921496bcf208fdc33a Bernhard Rosenkraenzer committed Oct 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/kconfig/confdata.c
@@ -87,7 +87,7 @@ char *conf_get_default_confname(void)
int conf_read_simple(const char *name)
FILE *in = NULL;
- char line[1024];
+ char line[4096];
char *p, *p2;
struct symbol *sym;
int i;

0 comments on commit e41555c

Please sign in to comment.