From: Nathan Neulinger Date: Wed, 12 Nov 2003 14:23:30 +0000 (+0000) Subject: regex-no-reg-basic-20031112 X-Git-Tag: openafs-devel-1_3_50~32 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d4b1d61d21de06465d81f57261e9d35dd386605c;p=packages%2Fo%2Fopenafs.git regex-no-reg-basic-20031112 apparently not all posix regex implementations have REG_BASIC. get rid of it since it's the default. --- diff --git a/src/vlserver/vlprocs.c b/src/vlserver/vlprocs.c index 2e920e053..cf23de4fd 100644 --- a/src/vlserver/vlprocs.c +++ b/src/vlserver/vlprocs.c @@ -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; }