]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
<regex.h>: reserve a regcomp field for REG_POSIX
authorKyle Evans <kevans@FreeBSD.org>
Fri, 31 Jul 2020 12:40:31 +0000 (12:40 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Mon, 28 Dec 2020 04:20:26 +0000 (22:20 -0600)
commitaaacbdb3993b7ba9b31c7f26412ffcc44ba94a52
tree936e36b477b0db431b188ede1e45a0714c6e2a00
parent90dbd2a623c345ad66228c48b5bf2e901bdb6c61
<regex.h>: reserve a regcomp field for REG_POSIX

For libc regcomp, this will be a nop. libregex will take this to mean that
it needs to turn off GNU extensions, effectively switching it back to the
POSIX-compliant libc implementation at runtime.

(cherry picked from commit 7c5ec5fe6afb50ba5c83ad0b3dab036f91b7dafe)
include/regex.h