Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix signature of main() | anton | 2024-07-15 | 1 | -4/+3 |
| | |||||
* | userspace: remove vestigial '?' cases from top-level getopt(3) loops | cheloha | 2022-12-04 | 1 | -2/+1 |
| | | | | | | | | | | | | | getopt(3) returns '?' when it encounters a flag not present in the in the optstring or if a flag is missing its option argument. We can handle this case with the "default" failure case with no loss of legibility. Hence, remove all the redundant "case '?':" lines. Prompted by dlg@. With help from dlg@ and millert@. Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2 ok naddy@ millert@ dlg@ | ||||
* | Two cases of BRE involving counts and backrefs that go wrong and | otto | 2021-04-02 | 1 | -1/+16 |
| | | | | | similar that have no isssues. Reported by Michael Paoli. Failing cases commented out for now. | ||||
* | Remove unused categories in re_guts; they are written to but never read. | millert | 2020-12-31 | 1 | -39/+2 |
| | | | | From miod@, OK tb@ | ||||
* | Fix an off-by-one error in the marking of the O_CH operator following | millert | 2020-12-28 | 1 | -1/+4 |
| | | | | | an OOR2 operator. Also includes a regress test for the issue. From FreeBSD via miod@ | ||||
* | no need to declare "extern optarg" and "extern optind" | schwarze | 2020-02-14 | 1 | -3/+1 |
| | | | | | | when <unistd.h> is included; patch from Jan Stary <hans at stare dot cz>; OK millert | ||||
* | Define DEF_WEAK like we do for ld.so to fix building this with clang. | kettenis | 2017-04-16 | 1 | -1/+2 |
| | | | | ok millert@, deraadt@ | ||||
* | Fix usage() output and getopt sorting | guenther | 2016-07-13 | 1 | -6/+6 |
| | |||||
* | tests for the two segfaults in backref() that were just fixed | schwarze | 2016-05-26 | 1 | -1/+4 |
| | |||||
* | Fix an oversight that caused the test program to segfault: | schwarze | 2016-05-26 | 1 | -2/+2 |
| | | | | Don't try to calculate strlen(NULL). | ||||
* | systematically test all combinations of REG_STARTEND, REG_NEWLINE, | schwarze | 2016-05-26 | 1 | -9/+85 |
| | | | | and REG_NOTBOL with line and word anchors | ||||
* | support for testing REG_STARTEND together with REG_NOTBOL | schwarze | 2016-05-26 | 1 | -1/+4 |
| | |||||
* | fix previous. | daniel | 2014-12-10 | 1 | -2/+4 |
| | |||||
* | t_exhaust is too exhausting | deraadt | 2014-12-09 | 1 | -3/+3 |
| | |||||
* | Add support for word anchors \< and \> to regex regression tests. | doug | 2014-09-21 | 1 | -1/+13 |
| | | | | These are copied from the existing [[:<:]] and [[:>:]] tests. | ||||
* | Remove excessive sys/cdefs.h inclusion | deraadt | 2012-12-05 | 1 | -3/+1 |
| | | | | ok guenther millert kettenis | ||||
* | return non-zero on error | otto | 2011-11-06 | 1 | -4/+6 |
| | |||||
* | and clean extra target | otto | 2011-11-05 | 1 | -1/+2 |
| | |||||
* | add exhaust test from netbsd | otto | 2011-11-05 | 2 | -2/+188 |
| | |||||
* | fix format strings, sizeof() does not return an int | otto | 2007-09-12 | 1 | -5/+5 |
| | |||||
* | use strcspn to properly overwrite '\n' in fgets returned buffer | chl | 2007-09-09 | 2 | -4/+4 |
| | | | | ok moritz@ gilles@ | ||||
* | More test cases involving back-references. | otto | 2004-11-29 | 1 | -2/+12 |
| | |||||
* | When running regex regress build a private copy with REDEBUG enabled. | millert | 2004-08-13 | 1 | -3/+4 |
| | | | | That way we get the asserts enabled. | ||||
* | More nasty cases involving back references. | otto | 2004-08-13 | 1 | -1/+11 |
| | |||||
* | Some nasty test cases involving back references that caused | otto | 2004-04-02 | 1 | -1/+6 |
| | | | | unbounded recursion. | ||||
* | kill bad functions; some sort of ok from marc who is trying to confuse me | deraadt | 2004-02-28 | 2 | -7/+7 |
| | |||||
* | various cleanups; david says results are same | deraadt | 2003-07-31 | 3 | -23/+22 |
| | |||||
* | Rename a bunch of the old bsd.regress.mk variables into the new ones. | avsm | 2002-09-02 | 1 | -2/+2 |
| | | | | ok art@ | ||||
* | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | millert | 2002-02-16 | 2 | -13/+13 |
| | | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | ||||
* | trivial conversions to bsd.regress.mk | art | 2002-01-01 | 1 | -4/+7 |
| | |||||
* | Fix regression test | ericj | 2001-02-04 | 1 | -2/+2 |
| | |||||
* | $OpenBSD$ | niklas | 2001-01-29 | 6 | -0/+6 |
| | |||||
* | getopt(3) returns -1 when out of args, not EOF, whee! | millert | 1997-01-15 | 1 | -2/+2 |
| | |||||
* | -Wall madness. | millert | 1996-12-21 | 2 | -4/+7 |
| | |||||
* | initial import of NetBSD tree | deraadt | 1995-10-18 | 7 | -0/+1604 |