summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port/regex/regexec.c
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2017-06-07 00:36:24 +0300
committerHans Rosenfeld <hans.rosenfeld@joyent.com>2017-06-12 12:53:59 +0200
commit490fea6b98d609ce9ae1306209c80bb255b84c95 (patch)
tree01803ff49e90602b84920ab1e3a228afda34d0b9 /usr/src/lib/libc/port/regex/regexec.c
parent7641c5eab2e15e87eafc318a09f2bd5c6f968607 (diff)
downloadillumos-joyent-490fea6b98d609ce9ae1306209c80bb255b84c95.tar.gz
8355 need libc regex tests
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Diffstat (limited to 'usr/src/lib/libc/port/regex/regexec.c')
-rw-r--r--usr/src/lib/libc/port/regex/regexec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr/src/lib/libc/port/regex/regexec.c b/usr/src/lib/libc/port/regex/regexec.c
index c1bc7b436a..188e9f08ed 100644
--- a/usr/src/lib/libc/port/regex/regexec.c
+++ b/usr/src/lib/libc/port/regex/regexec.c
@@ -218,11 +218,7 @@ regexec(const regex_t *_RESTRICT_KYWD preg, const char *_RESTRICT_KYWD string,
if (MB_CUR_MAX > 1)
return (mmatcher(g, string, nmatch, pmatch, eflags));
-#ifdef REG_LARGE
else if (g->nstates <= CHAR_BIT*sizeof (states1) && !(eflags&REG_LARGE))
-#else
- else if (g->nstates <= CHAR_BIT*sizeof (states1))
-#endif
return (smatcher(g, string, nmatch, pmatch, eflags));
else
return (lmatcher(g, string, nmatch, pmatch, eflags));