From d4b1d61d21de06465d81f57261e9d35dd386605c Mon Sep 17 00:00:00 2001 From: Nathan Neulinger Date: Wed, 12 Nov 2003 14:23:30 +0000 Subject: [PATCH] regex-no-reg-basic-20031112 apparently not all posix regex implementations have REG_BASIC. get rid of it since it's the default. --- src/vlserver/vlprocs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vlserver/vlprocs.c b/src/vlserver/vlprocs.c index 2e920e0537..cf23de4fd5 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; }