aboutsummaryrefslogtreecommitdiffstats
path: root/include/regex.h
Commit message (Collapse)AuthorAgeFilesLines
* <regex.h>: reserve a regcomp field for REG_POSIXKyle Evans2020-07-311-0/+1
| | | | | | | | | 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. Notes: svn path=/head/; revision=363734
* include: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326024
* Replace __const by const in all non-contributed source code.Ed Schouten2011-12-131-1/+1
| | | | | | | | | As C1X is close to being released, there is no need to wrap around a feature that is already part of C90. Most of these files already use `const' in different placed as well. Notes: svn path=/head/; revision=228468
* Remove the Berkeley clause 3's.Warner Losh2010-02-161-5/+1
| | | | | | | Add a few $FreeBSD$ Notes: svn path=/head/; revision=203964
* Add a new error code, REG_ILLSEQ, to indicate that a regular expressionTim J. Robbins2004-07-121-0/+1
| | | | | | | contains an illegal multibyte character sequence. Notes: svn path=/head/; revision=132017
* Now I understand what Bruce was getting at - -1 can be parsed as twoJordan K. Hubbard2003-12-181-1/+1
| | | | | | | | tokens, so it does indeed need to be parenthesized. Duh. Sometimes it can stare you right and the face and you still don't see it. Thanks, bde. Notes: svn path=/head/; revision=123636
* Adjust in response to various bits of brucification:Jordan K. Hubbard2003-12-181-1/+1
| | | | | | | | | | | | | | | | | 1) Fix style issues in comments. 2) Properly namespaceify changes 3) Appropriate sectioning of changes Not changed: parenthesis around macro rvalue. That would make the additions inconsistent with the other entries there, merely a different style violation rather than a clear and obvious improvement so I'm going to have to disagree with the judges on that one. If someone wishes to adjust *all* the rvalues to conform to fully parenthesized marco rule, that would be both consistent and reasonable but that's beyond the scope of the changes I wish to make at this time. Notes: svn path=/head/; revision=123630
* OK, someone was tab happy in this file. A tab after #define?! OK, fine,Jordan K. Hubbard2003-12-171-1/+1
| | | | | | | | I'll keep the same style regardless of the wisdom of it. :) Clarified by: eivind Notes: svn path=/head/; revision=123597
* Conformance: Add REG_ENOSYS (see ↵Jordan K. Hubbard2003-12-171-0/+1
| | | | | | | http://www.opengroup.org/onlinepubs/007904975/basedefs/regex.h.html) Notes: svn path=/head/; revision=123586
* Cope with a GCC bug by using an alternative, but equivalent functionMike Barcroft2002-10-031-1/+6
| | | | | | | | | prototype for regexec(). Noticed by: robert Notes: svn path=/head/; revision=104416
* o Add typedef for size_t.Mike Barcroft2002-10-021-4/+11
| | | | | | | | | o Fix regoff_t typedef to not require <sys/types.h> as a prerequisite (specifically use `__off_t' instead of `off_t'). o Add restrict type-qualifier to function prototypes. Notes: svn path=/head/; revision=104356
* Breath deep and take __P out of the system include files.Warner Losh2002-03-231-5/+5
| | | | | | | | | # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure. Notes: svn path=/head/; revision=93032
* Back out all of yesterdays include file changes.Eivind Eklund1997-05-071-1/+0
| | | | Notes: svn path=/head/; revision=25551
* Make a lot of include-files self-contained. I excluded the patches changingEivind Eklund1997-05-071-0/+1
| | | | | | | | | | | int's to gid_t and uid_t - should I commit these, too? Closes PR misc/2625. Submitted by: Julian Assange <proff@iq.org> Notes: svn path=/head/; revision=25520
* BSD 4.4 Lite Include SourcesRodney W. Grimes1994-05-241-0/+106
Notes: svn path=/head/; revision=1539