summaryrefslogtreecommitdiffstats
path: root/lib/libc/db
Commit message (Collapse)AuthorAgeFilesLines
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-0951-204/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* o dbm_close(3) returns void not zero or anything else. Touch .Dd.maxim2006-04-161-5/+1
| | | | | | PR: docs/80070 Submitted by: Aleksej Saushev MFC after: 2 weeks
* Add each directory's symbol map file to SYM_MAPS.deischen2006-03-131-0/+2
|
* Add symbol maps and initial symbol version definitions to libc.deischen2006-03-131-0/+30
| | | | Reviewed by: davidxu
* Fix parameter types of close and get members in DB.stefanf2005-09-101-2/+2
|
* Expand *n't contractions.ru2005-02-132-3/+3
|
* Fix a condition where the hole would be inserted in the wrongkuriyama2004-09-131-4/+2
| | | | | | place during a split. Obtained from: NetBSD
* I found "portsdb -u" dumps core with recent INDEX file, and this iskuriyama2004-09-101-0/+2
| | | | | | | | | | | | | | | caused by refering broken (uninitialized?) pointer which is retrieved from __bt_new() (and from mpool_new()). I don't know why this linp[0] is read before stored because this should be controlled by .lower and .upper member of PAGE structure which are correctly initialized. But this workaround fixes the problem on my environment and this module has #ifdef PURIFY option which initializes new and reused memory from mpool by memset(p, 0xff, size) like as I did. Please feel free to fix the real bug instead of my workaround.
* Fix format strings to unbreak with -DDEBUG option.kuriyama2004-09-103-17/+18
|
* Remove the misleading description of the 'key' argument toroam2004-08-271-17/+1
| | | | | | | | | mpool_open(3) - it is *not* really used for synchronization; in fact, it is not used at all. PR: 70929 Submitted by: Martin Kammerhofer <dada@sbox.tugraz.at> MFC after: 3 days
* Mechanically kill hard sentence breaks.ru2004-07-023-4/+4
|
* Simplify mpool_get() and mpool_write() by using pread() and pwrite()das2004-01-201-6/+3
| | | | | | | instead of lseek()/_read() and lseek()/_write(). PR: bin/54276 Submitted by: <dnelson@allantgroup.com>
* mdoc(7): Use the new feature of the .In macro.ru2003-09-085-7/+7
|
* Fix a sizeof error in __bt_put: when writing they key and data sizestmm2003-05-301-3/+5
| | | | | | | | | | to a buffer in the big key/data case, memmove() was used on pointers to size_ts, but only sizeof(u_int32_t) bytes where copied. This broke on big_endian architectures where sizeof(size_t) > sizeof(u_int32_t). This bug broke portupgrade (by way of ruby_bdb1) on sparc64. Approved by: re (rwatson)
* Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go).nectar2003-02-166-10/+14
| | | | | | | Only warnings that could be fixed without changing the generated object code and without restructuring the source code have been handled. Reviewed by: /sbin/md5
* The .Fn functioncharnier2003-02-061-12/+13
|
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* mdoc(7) police: "The .Fa argument.".ru2002-12-195-22/+46
|
* mdoc(7) police: "The .Fn function".ru2002-12-183-6/+50
|
* libc_r wasn't so tied to libc for 22 months.ru2002-11-187-14/+12
|
* Correct the headers needed to use dbopen(3) and friends.markm2002-10-181-1/+2
|
* Assume __STDC__, remove non-__STDC__ code.alfred2002-05-281-14/+1
| | | | Submitted by: keramida
* W/o __P, the internal declarations will all fit on one line.obrien2002-03-231-6/+3
|
* Fix the style of the SCM ID's.obrien2002-03-223-3/+3
| | | | I believe have made all of libc .h's as consistent as possible.
* Fix the style of the SCM ID's.obrien2002-03-2223-36/+62
| | | | I believe have made all of libc .c's as consistent as possible.
* Remove multi-line __P() usage.obrien2002-03-224-6/+6
|
* Remove __P() usage.obrien2002-03-2122-169/+189
|
* Remove 'register' keyword.obrien2002-03-2110-81/+93
|
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-016-13/+13
|
* Mark some functions as __printflike() and/or taking const char * argumentskris2001-08-201-1/+1
| | | | | | instead of char *. MFC after: 2 weeks
* mdoc(7) police: replace `\*(Ba' with a simple `|', it's handled specially.ru2001-08-161-1/+1
|
* Don't clobber the default for CFLAGS.bde2001-08-031-1/+2
|
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-1/+1
|
* Remove duplicate words.dd2001-06-241-1/+1
|
* Add new, from scratch implementation of hsearch() et al that actually works.ru2001-05-152-110/+1
| | | | | Obtained from: NetBSD MFC after: 1 month
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* mdoc(7) cleanup.ru2001-02-121-90/+86
|
* Add a man page for the dbm_* functions, and update the Makefile to linknik2001-02-112-1/+211
| | | | | | | | | | it in. Some review from -hackers (some time ago), and I think the best way to get this improved (if it needs improving) or updating, is to bring it in. PR: docs/12557 Submitted by: Tim Singletary <tsingle@triana.gsfc.nasa.gov>
* Fix typo: compatability -> compatibility.asmodai2001-02-061-1/+2
| | | | | | Compatability is not an existing english word. Add $FreeBSD$.
* Fixed C error(s) in synopsis. Many were hiding under mdoc errors.bde2001-02-051-1/+1
|
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-248-11/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in. Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo. Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible. Remove uneeded includes of <errno.h> from a few files. Add $FreeBSD$ to a few files in order to pass commitprep. Approved by: -arch
* man(7) -> mdoc(7).ru2001-01-115-681/+845
|
* Fix SCCS id string abuse I introduced.obrien2001-01-021-1/+1
|
* Fix a tailq conversion bug that resulted in, e.g., nvi crashing upongreen2000-12-301-1/+2
| | | | | | | | | | | | quitting every time. The way to free a CIRCLEQ was to loop until the current == current->head, but the way to free a TAILQ is to loop until current->head == NULL. In any case, the CORRECT way to do it is a loop of TAILQ_EMPTY() checks and TAILQ_REMOVE()al of TAILQ_FIRST(). This bug wouldn't have happened if the loop wasn't hard-coded... There may be more bugs of this type from the conversion.
* Use TAILQ instead of CIRCLEQ.phk2000-12-291-21/+18
|
* Use size_t rather than a 16-bit data type fo the length.obrien2000-11-071-1/+5
| | | | | PR: 9350 Submitted by: Danny J. Zerkel <dzerkel@columbus.rr.com>
* More secure temporary filename. This needs to be revisited to usekris2000-11-021-1/+1
| | | | mkstemp().
* If using a DB_RECNO, db::put should return the new key if R_IAFTER isgreen2000-08-081-1/+9
| | | | | | set, not the previous key. Add $FreeBSD$, not taking this off the vendor branch because it's not on.
* Prevent TMPDIR overflow.kris2000-08-041-1/+5
|
* cleanup the tsearch import.alfred2000-07-062-53/+4
| | | | | | | | | | | | remove (comment out) functions defined or depricated elsewhere: bsearch, lfind, lsearch, insque, remque change hcreate to take a size_t rather than uint (essentially the same) since hcreate/hdestroy are now in <search.h>, remove private search.h in lib/libc/db/hash/ add $FreeBSD tags to hsearch.c
OpenPOWER on IntegriCloud