You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
749 B
23 lines
749 B
http://bugs.gentoo.org/416985
|
|
|
|
--- src/conffile.c
|
|
+++ src/conffile.c
|
|
@@ -372,7 +372,7 @@ static int cf_prepare_regexps()
|
|
/* A regexp matching a boolean value*/
|
|
|
|
if( regcomp(&declaration_RE,
|
|
- "^[[:blank:]]*([-a-zA-Z_]+)[[:blank:]]*"
|
|
+ "^[[:blank:]]*([-[:alpha:]_]+)[[:blank:]]*"
|
|
"=[[:blank:]]*(.*)$",
|
|
REG_EXTENDED )) {
|
|
perror(_("Could not compile regular expression for boolean values"));
|
|
@@ -392,7 +392,7 @@ static int cf_prepare_regexps()
|
|
}
|
|
|
|
if( regcomp(&uint_RE,
|
|
- "^[[:blank:]]*([a-zA-Z_]+)[[:blank:]]*"
|
|
+ "^[[:blank:]]*([[:alpha:]_]+)[[:blank:]]*"
|
|
"=[[:blank:]]*([0-9]+)$",
|
|
REG_EXTENDED )) {
|
|
perror(_("Could not compile regular expression for integer values"));
|