]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libc: regex: partial revert of r368358
authorkevans <kevans@FreeBSD.org>
Sat, 5 Dec 2020 14:38:46 +0000 (14:38 +0000)
committerkevans <kevans@FreeBSD.org>
Sat, 5 Dec 2020 14:38:46 +0000 (14:38 +0000)
commitb7fb8a1e4c56e6601933ae616e27db466e1f5586
treee264a56ce71ccd1542a7f18a6f879198cb670188
parent63eb795a8d6b68b42f425760a011734ab73447df
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