#include <locale.h>
#include <ctype.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static int valid_stdin = 1;
static int sync_kconfig;
static int conf_cnt;
-static char line[128];
+static char line[PATH_MAX];
static struct menu *rootEntry;
static void print_help(struct menu *menu)
/* fall through */
case oldaskconfig:
fflush(stdout);
- xfgets(line, 128, stdin);
+ xfgets(line, sizeof(line), stdin);
if (!tty_stdio)
printf("\n");
return 1;
/* fall through */
case oldaskconfig:
fflush(stdout);
- xfgets(line, 128, stdin);
+ xfgets(line, sizeof(line), stdin);
strip(line);
if (line[0] == '?') {
print_help(menu);
2163e7b kconfig/merge_config.sh: Accept a single file
f6aad26 kconfig: Fix copy&paste error
be596aa Add current selection check.
+74dba80 kconfig: allow kconfig to handle longer path names
+aab24a8 kconfig: return 'false' instead of 'no' in bool function
+5b61c7b kconfig: fix qconf segfault by deleting heap objects