]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libc: regex: partial revert of r368358
authorKyle Evans <kevans@FreeBSD.org>
Sat, 5 Dec 2020 14:38:46 +0000 (14:38 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Sat, 5 Dec 2020 14:38:46 +0000 (14:38 +0000)
commit4f1efa309ca48a088595dd57969ae6a397dd49d1
treee264a56ce71ccd1542a7f18a6f879198cb670188
parent68225a196f113ffbd2795e4cca5cea64585ac128
libc: regex: partial revert of r368358

Part of the libregex functionality leaked into the tests it shares with
the standard regex(3). Introduce a P flag to set the REG_POSIX cflag to
indicate that libc regex should effectively do nothing while libregex should
specifically run it in non-extended mode.

This unbreaks the libc/regex test run.

Reported by: Jenkins
contrib/netbsd-tests/lib/libc/regex/README
contrib/netbsd-tests/lib/libc/regex/data/meta.in
contrib/netbsd-tests/lib/libc/regex/main.c