aboutsummaryrefslogtreecommitdiff
path: root/src/libregexp
AgeCommit message (Collapse)AuthorFilesLines
2018-09-29libregexp: include stddef.h in lib9.std.hDavid du Colombier1-0/+1
Commit 2d82ef9d98 added ptrdiff_t in regcomp.c. However, this change broke the build of the Unix package because ptrdiff_t is defined in stddef.h.
2017-01-06all: fix or silence all INSTALL warnings on macOSRuss Cox1-4/+1
Should be a clean build now. Change-Id: Id3460371cb5e8d4071f8faa9c2aec870d213a067 Reviewed-on: https://plan9port-review.googlesource.com/2781 Reviewed-by: Russ Cox <rsc@swtch.com>
2016-11-02libregexp: various fixesDavid du Colombier3-6/+4
- Check before dereference. - Fix memory leak - Remove duplicate if statement. - Remove trailing spaces. Change-Id: I140a05c8f7006493dddae753aebfa5b4577c65ef Reviewed-on: https://plan9port-review.googlesource.com/1301 Reviewed-by: Neven Sajko <nsajko@gmail.com> Reviewed-by: Russ Cox <rsc@swtch.com>
2016-11-02fix segfaults on OpenBSD: int cannot hold all the values a ptrdiff_t can take.Gleydson Soares1-1/+1
Change-Id: I90806e6f2e46a94f38aa0a8a7038aa6599b448b3 Reviewed-on: https://plan9port-review.googlesource.com/2660 Reviewed-by: Russ Cox <rsc@swtch.com>
2015-06-03libregexp: fix copy-paste errorDavid du Colombier1-1/+1
Change-Id: I042d63ea62e2abd599bf9767acb3374bb39ddc7d Reviewed-on: https://plan9port-review.googlesource.com/1050 Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Russ Cox <rsc@google.com>
2013-07-02libregexp: update from Plan 9David du Colombier5-24/+25
R=rsc https://codereview.appspot.com/10690044
2008-05-10libregexp: more placating of gcc (John Gosset)Russ Cox1-5/+5
2008-01-10libregexp: fix match choice bugRuss Cox2-2/+2
This bug fix allows some pathological regular expressions to cause the regexp library to report a stack overflow (really a stack filling; safe) but it also fixes the behavior of some common regexps. It is too hard to satisfy both.
2007-12-07libregexp: revert regexp fixRuss Cox5-117/+113
2007-12-07libregexp: fix ambiguous match selectionRuss Cox5-113/+117
echo SYSSYSR1 | sed 's/SYS.+/sysr1/' was producing SYSsysr1 instead of sysr1. Bug was introduced during overflow cleanup earlier this year. Also bring regexec.c and rregexec.c into sync again. Also allocate large enough lists in the regexec2/rregexec2 case.
2007-06-09anotherrsc1-1/+1
2007-06-09day one bug in sam regexp codersc1-1/+1
2007-05-21fix pointer comparison (Ramon de Vera)rsc1-1/+1
2007-05-18Match leading ^ in regexp with embedded newlines (Roger Peppe)rsc2-11/+10
2006-04-20silence warning (andrey)rsc1-5/+5
2005-05-07no wide character constants; sighrsc1-17/+17
2005-01-14silence warningrsc1-1/+1
2004-12-27bad namersc1-6/+0
2004-12-27add for portingrsc1-0/+10
2004-12-26add portdatersc1-0/+9
2004-04-21odds and endsrsc1-0/+11
2004-04-19clean up when finished.rsc1-1/+0
don't set PLAN9 don't set PLAN9
2004-03-05don't need these.rsc2-283/+0
2004-03-05Update libregexp with recent bug fixes from Plan 9.rsc12-81/+111
2003-11-23make -> mkrsc2-27/+27
2003-10-11Use new directory structure.rsc1-4/+4
2003-09-30Reorgrsc17-705/+5
2003-09-30Initial revisionrsc32-0/+2385