From 837f058fb307e0bcf7b9ad4f02a44ea3047f427e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 15 Jul 2004 06:01:05 +0000 Subject: Peter Kjellerstedt at axis.com writes: Hello, the attached patch should bring extra/config in line with the Linux 2.6.7 sources. The following are the commit messages for the respective files from the Linux bk-repository: checklist.c: * fix menuconfig choice item help display confdata.c: * config: choice fix * kconfig: don't rename target dir when saving config expr.c, expr.h: * config: disable debug prints mconf.c: * fix menuconfig choice item help display menu.c: * Kconfig: use select statements symbol.c: * config: choice fix * Avoid bogus warning about recursive dependencies * c99 struct initialiser conversions textbox.c: * janitor: don't init statics to 0 util.c: * fix lxdialog behaviour //Peter --- scripts/config/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/config/util.c') diff --git a/scripts/config/util.c b/scripts/config/util.c index 104ff0e4c..0a2f82757 100644 --- a/scripts/config/util.c +++ b/scripts/config/util.c @@ -348,7 +348,7 @@ first_alpha(const char *string, const char *exempt) c = tolower(string[i]); if (strchr("<[(", c)) ++in_paren; - if (strchr(">])", c)) --in_paren; + if (strchr(">])", c) && in_paren > 0) --in_paren; if ((! in_paren) && isalpha(c) && strchr(exempt, c) == 0) -- cgit v1.2.3