summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/hash
Commit message (Collapse)AuthorAgeFilesLines
* libc_r wasn't so tied to libc for 22 months.ru2002-11-181-1/+1
|
* Fix the style of the SCM ID's.obrien2002-03-221-0/+1
| | | | I believe have made all of libc .h's as consistent as possible.
* Fix the style of the SCM ID's.obrien2002-03-221-0/+2
| | | | I believe have made all of libc .c's as consistent as possible.
* Remove multi-line __P() usage.obrien2002-03-222-3/+3
|
* Remove __P() usage.obrien2002-03-217-53/+54
|
* Remove 'register' keyword.obrien2002-03-216-72/+78
|
* Add new, from scratch implementation of hsearch() et al that actually works.ru2001-05-152-110/+1
| | | | | Obtained from: NetBSD MFC after: 1 month
* Fix typo: compatability -> compatibility.asmodai2001-02-061-1/+2
| | | | | | Compatability is not an existing english word. Add $FreeBSD$.
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-243-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),jasone2000-01-272-14/+12
| | | | | | | | | | | | | | | | | just use _foo() <-- foo(). In the case of a libpthread that doesn't do call conversion (such as linuxthreads and our upcoming libpthread), this is adequate. In the case of libc_r, we still need three names, which are now _thread_sys_foo() <-- _foo() <-- foo(). Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(), nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo(). Remove all internal libc usage of: creat(), pause(), sleep(), system(), tcdrain(), wait(), and waitpid(). Make thread cancellation fully POSIX-compliant. Suggested by: deischen
* Add three-tier symbol naming in support of POSIX thread cancellationjasone2000-01-122-12/+18
| | | | | | points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For system calls, the pattern is _read() <-- _libc_read() <-- read().
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Changed all paths to be relative to src/lib instead of src/lib/libcjb1997-05-031-2/+3
| | | | | | | | | | so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too.
* Reviewed by: Bruce Evans <bde@freebsd.org>danny1997-02-151-0/+6
| | | | | Guard against possible buffer overrun in filename passed. Another candidate for 2.2.
* Back out most of the last backout. :-) Guido removed the 1.1.1.1->1.1.1.2peter1996-10-191-10/+18
| | | | | | changes from the vendor branch as well, backing the db-1.82 changes. This file should now be the same as it was in rev 1.1.1.2.
* Backout bzero patch.guido1996-10-181-21/+11
| | | | | | Somehow, I also managed to get quite some other changes in this file at the same time. All I did was checkout the file and made a single change. If someone has an explanation how these PURIFFY defines got in...
* When freeing buffers in the db routines, also zeroize themguido1996-10-171-1/+3
| | | | | | This should solve the bug where a coredumping ftpd reveals encrypted passwords. Obtained from: OpenBSD
* Bring in fixes to db 1.85 from NetBSD. These fixes have been documented aspst1996-07-212-16/+37
| | | | | being sent back to Bostic by the NetBSD crew. Obtained from: NetBSD-current
* General -Wall warning cleanup, part I.jkh1996-07-122-2/+2
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* Fix conflicts and merge into mainlinepst1996-02-274-174/+183
|
* This commit was generated by cvs2svn to compensate for changes in r14272,pst1996-02-276-75/+85
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import updated Berkeley DB into CSRG branchpst1996-02-2710-249/+268
| |
* | move stat behind open to cover corner casepst1996-02-251-2/+8
| |
* | If a .db file is 0 length, initialize it as if it did not exist.pst1996-02-231-1/+2
| | | | | | | | Reviewed by: wollman
* | Reviewed by: julian and (hsu?)julian1996-01-223-10/+10
| | | | | | | | | | | | Submitted by: John Birrel(L?) changes for threadsafe operations
* | Remove trailing whitespace.rgrimes1995-05-302-3/+3
|/
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-2714-0/+4095
OpenPOWER on IntegriCloud