summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/db (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove a couple hundred sys/param.h includes in userland code, andderaadt2021-12-131-6/+7
| | | | | | also whack some sys/cdefs.h early includes which is such a brutally bad pattern ok bluhm mbuhl
* For open/openat, if the flags parameter does not contain O_CREAT, thederaadt2021-10-241-2/+2
| | | | | | | | | | | | | 3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert
* These tests pass in a few seconds. Remove REGRESS_SLOW_TARGETS.bluhm2021-09-271-3/+1
|
* no need to declare "extern optarg" and "extern optind"schwarze2020-02-141-3/+1
| | | | | | when <unistd.h> is included; patch from Jan Stary <hans at stare dot cz>; OK millert
* Fix all clang warnings in libc regress and cleanup some make files.bluhm2017-07-271-14/+14
|
* Use INT_MAX instead of SIZE_MAX as the maximum file size we can handle.kettenis2017-04-161-2/+2
| | | | | | Fixes this test on 64-bit architectures. ok visa@
* Cast ctype functions' arguments to unsigned char.mmcc2015-10-231-5/+5
|
* SIZE_MAX is standard, we should be using it in preference to themillert2015-02-061-5/+3
| | | | obsolete SIZE_T_MAX. OK miod@ beck@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-15/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* various cleanups; david says results are samederaadt2003-07-311-6/+4
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Rename a bunch of the old bsd.regress.mk variables into the new ones.avsm2002-09-021-3/+3
| | | | ok art@
* add missing CLEANFILES; ok miod@wcobb2002-08-211-2/+2
|
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-18/+4
|
* Rename private err() function to dberr() to avoid collision withmillert2002-02-181-42/+49
| | | | libc's err().
* Part one of userland __P removal. Done with a simple regexp with some minor ↵millert2002-02-161-18/+18
| | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
* 3 12 and 20 are slowart2002-01-031-1/+3
|
* depend the tests on the test program.art2002-01-031-2/+2
|
* Split into smaller tests. It was easier than I thought.art2002-01-021-5/+8
| | | | | | XXX - Can someone who understands this verify that test8 is correct? It doesn't return failure (it can't and the code has a strange comment about it), but it prints something on sparc64 that could be interpreted as an error message).
* First conversion to bsd.regress.mk, needs to be split intoart2002-01-021-5/+5
| | | | smaller tests.
* $OpenBSD$niklas2001-01-294-2/+5
|
* Build dbtest before running the actual test.angelos2001-01-051-1/+1
|
* #if __STDC__ --> #ifdef __STDC__mickey1997-07-251-3/+3
|
* r?index -> strr?chrmillert1997-01-171-6/+6
|
* getopt(3) returns -1 when out of args, not EOF, whee!millert1997-01-151-1/+1
|
* db release 1.85deraadt1996-05-073-88/+196
|
* from netbsd; do not override other CFLAGS settingsderaadt1995-12-151-2/+2
|
* initial import of NetBSD treederaadt1995-10-184-0/+1442