Home | History | Annotate | Download | only in include
History log of /src/include/regex.h
RevisionDateAuthorComments
 1.17  30-Oct-2024  riastradh Sprinkle <sys/featuretest.h> where _*_SOURCE macros are consulted.

Otherwise, the feature tests might come out wrong. For example,
header files that check for _NETBSD_SOURCE won't get the default when
no other _*_SOURCE macros are defined; header files that check for
_POSIX_C_SOURCE might miss _XOPEN_SOURCE, which is supposed to imply
a corresponding _POSIX_C_SOURCE.

PR lib/58752: various header files test _*_SOURCE macros but don't
include sys/featuretest.h
 1.16  23-Feb-2021  christos branches: 1.16.8;
- Replace REG_ENOSYS (unused) with REG_ILLSEQ.
- Add REG_GNU
 1.15  14-Jan-2016  christos rename to regnsub
 1.14  14-Jan-2016  christos add reg{,a}sub
 1.13  13-Sep-2005  christos compat code reorg
 1.12  03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.11  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22270, verified by myself.
 1.10  05-Feb-2003  kleink Sprinkle some restrict.
 1.9  09-Dec-1998  drochner Uhm - we can't expose __LIBC12_SOURCE__ to the public - it causes side
effects in the function renaming mess.
 1.8  08-Dec-1998  drochner regoff_t is used like size_t within the code, it should be defined
so instead of off_t. This makes some casts unnecessary.
We can't change the definition now due to binary compatibility, so
prepare for the next libc major version.
 1.7  06-May-1998  kleink For completeness, add REG_ENOSYS.
 1.6  02-Feb-1998  perry merge lite-2
 1.5  10-Jun-1996  explorer Include <sys/types.h>

POSIX.2 requires programs to include <sys/types.h> before including
<regex.h>. XPG4.2 makes <sys/types.h> optional for all headers.
 1.4  26-Oct-1994  cgd branches: 1.4.6;
new RCS ID format.
 1.3  12-Jan-1994  cgd update from latest regex package i could find...
 1.2  11-Nov-1993  jtc Update to Henry's alpha3.2 release.
 1.1  11-Nov-1993  jtc branches: 1.1.1;
Enable Henry Spencer's POSIX.2 compatible regular expression routines.
Disable is earlier V8-style routines.
 1.1.1.1  02-Feb-1998  perry import lite-2
 1.4.6.1  10-Jun-1996  explorer Include <sys/types.h>

POSIX.2 requires programs to include <sys/types.h> before including
<regex.h>. XPG4.2 makes <sys/types.h> optional for all headers.
 1.16.8.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed