aboutsummaryrefslogtreecommitdiff
path: root/scripts/config/util.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-07-15 06:01:05 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-07-15 06:01:05 +0000
commit8d067d680796f811a61decb8bbd6f63bf05c1f41 (patch)
treebde5459d496b1afc91b7d4a261b66252a47ca414 /scripts/config/util.c
parent788bdae00dee03a410144b638393478b68c3a063 (diff)
downloadbusybox-w32-8d067d680796f811a61decb8bbd6f63bf05c1f41.tar.gz
busybox-w32-8d067d680796f811a61decb8bbd6f63bf05c1f41.tar.bz2
busybox-w32-8d067d680796f811a61decb8bbd6f63bf05c1f41.zip
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 git-svn-id: svn://busybox.net/trunk/busybox@8944 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'scripts/config/util.c')
-rw-r--r--scripts/config/util.c2
1 files changed, 1 insertions, 1 deletions
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)
348 c = tolower(string[i]); 348 c = tolower(string[i]);
349 349
350 if (strchr("<[(", c)) ++in_paren; 350 if (strchr("<[(", c)) ++in_paren;
351 if (strchr(">])", c)) --in_paren; 351 if (strchr(">])", c) && in_paren > 0) --in_paren;
352 352
353 if ((! in_paren) && isalpha(c) && 353 if ((! in_paren) && isalpha(c) &&
354 strchr(exempt, c) == 0) 354 strchr(exempt, c) == 0)