mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
regex-no-reg-basic-20031112
apparently not all posix regex implementations have REG_BASIC. get rid of it since it's the default.
This commit is contained in:
parent
917af56722
commit
d4b1d61d21
@ -1441,7 +1441,7 @@ SVL_ListAttributesN2(rxcall, attributes, name, startindex, nentries,
|
||||
if (name && (strcmp(name, ".*") != 0) && (strcmp(name, "") != 0)) {
|
||||
sprintf(volumename, "^%s$", name);
|
||||
#ifdef HAVE_POSIX_REGEX
|
||||
if (regcomp(&re, volumename, REG_BASIC | REG_NOSUB) != 0) {
|
||||
if (regcomp(&re, volumename, REG_NOSUB) != 0) {
|
||||
errorcode = VL_BADNAME;
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user