History log of /netbsd-src/include/regex.h (Results 1 – 17 of 17)
Revision Date Author Comments
# cddc78ea 30-Oct-2024 riastradh <riastradh@NetBSD.org>

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 w

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

show more ...


# cc8bab37 23-Feb-2021 christos <christos@NetBSD.org>

- Replace REG_ENOSYS (unused) with REG_ILLSEQ.
- Add REG_GNU


# 1a175d5b 14-Jan-2016 christos <christos@NetBSD.org>

rename to regnsub


# 4c892c32 14-Jan-2016 christos <christos@NetBSD.org>

add reg{,a}sub


# 66412e72 13-Sep-2005 christos <christos@NetBSD.org>

compat code reorg


# 19b7469a 03-Feb-2005 perry <perry@NetBSD.org>

de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.


# 039cc956 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22270, verified by myself.


# d58cfc7d 05-Feb-2003 kleink <kleink@NetBSD.org>

Sprinkle some restrict.


# 98394c66 09-Dec-1998 drochner <drochner@NetBSD.org>

Uhm - we can't expose __LIBC12_SOURCE__ to the public - it causes side
effects in the function renaming mess.


# 7cd4c14e 08-Dec-1998 drochner <drochner@NetBSD.org>

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 f

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.

show more ...


# 6cee3660 06-May-1998 kleink <kleink@NetBSD.org>

For completeness, add REG_ENOSYS.


# b7b7322c 02-Feb-1998 perry <perry@NetBSD.org>

merge lite-2


# a15d9fa1 10-Jun-1996 explorer <explorer@NetBSD.org>

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.


# 4d2cbfce 26-Oct-1994 cgd <cgd@NetBSD.org>

new RCS ID format.


# 05903d2b 12-Jan-1994 cgd <cgd@NetBSD.org>

update from latest regex package i could find...


# 5797eb6f 11-Nov-1993 jtc <jtc@NetBSD.org>

Update to Henry's alpha3.2 release.


# 9f78fc2f 11-Nov-1993 jtc <jtc@NetBSD.org>

Enable Henry Spencer's POSIX.2 compatible regular expression routines.
Disable is earlier V8-style routines.