HomeFreeBSD

<regex.h>: reserve a regcomp field for REG_POSIX

Description

<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)

Details

Provenance
kevansAuthored on Jul 31 2020, 12:40 PM
Parents
rG90dbd2a623c3: regex(3): belatedly document REG_POSIX from r363734
Branches
Unknown
Tags
Unknown