Author: kevans Date: Fri Jul 31 12:40:31 2020 New Revision: 363734 URL: https://svnweb.freebsd.org/changeset/base/363734
Log: <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. Modified: head/include/regex.h Modified: head/include/regex.h ============================================================================== --- head/include/regex.h Fri Jul 31 12:10:28 2020 (r363733) +++ head/include/regex.h Fri Jul 31 12:40:31 2020 (r363734) @@ -71,6 +71,7 @@ typedef struct { #define REG_NOSPEC 0020 #define REG_PEND 0040 #define REG_DUMP 0200 +#define REG_POSIX 0400 /* only POSIX-compliant regex (libregex) */ /* regerror() flags */ #define REG_ENOSYS (-1) _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"