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:
Nathan Neulinger 2003-11-12 14:23:30 +00:00 committed by Jim Rees
parent 917af56722
commit d4b1d61d21

View File

@ -1441,7 +1441,7 @@ SVL_ListAttributesN2(rxcall, attributes, name, startindex, nentries,
if (name && (strcmp(name, ".*") != 0) && (strcmp(name, "") != 0)) { if (name && (strcmp(name, ".*") != 0) && (strcmp(name, "") != 0)) {
sprintf(volumename, "^%s$", name); sprintf(volumename, "^%s$", name);
#ifdef HAVE_POSIX_REGEX #ifdef HAVE_POSIX_REGEX
if (regcomp(&re, volumename, REG_BASIC | REG_NOSUB) != 0) { if (regcomp(&re, volumename, REG_NOSUB) != 0) {
errorcode = VL_BADNAME; errorcode = VL_BADNAME;
goto done; goto done;
} }