summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/btree
Commit message (Collapse)AuthorAgeFilesLines
* More secure temporary filename. This needs to be revisited to usekris2000-11-021-1/+1
| | | | mkstemp().
* Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),jasone2000-01-272-5/+5
| | | | | | | | | | | | | | | | | 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-5/+9
| | | | | | 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
|
* Replace memory leaking instances of realloc with non-leaking reallocf.imp1998-09-161-1/+1
| | | | | | | | | | | In some cases replace if (a == null) a = malloc(x); else a = realloc(a, x); with simple reallocf(a, x). Per ANSI-C, this is guaranteed to be the same thing. I've been running these on my system here w/o ill effects for some time. However, the CTM-express is at part 6 of 34 for the CAM changes, so I've not been able to do a build world with the CAM in the tree with these changes. Shouldn't impact anything, but...
* Don't trust TMPDIR if we're setuid root. This is used only for theimp1998-09-111-2/+3
| | | | | | | | | | backing file for an anonymous (memory based) btree, and I don't think that any setuid programs actually use it, but it is better to be safe than sorry. This has been in my tree for a long time, maybe a year or more... Inspired by: Similar changes in OpenBSD, if memory serves (like nearly a year ago)
* Fix btree problems. This passes regressions tests.guido1998-06-252-2/+5
| | | | | | PR: 7009 Obtained from: http://www.sleepycat.com/update/patch.185.html, patches 1.2, 1.3 and 1.4
* Many places in the code NULL is used in integer context, wherephk1997-09-181-1/+1
| | | | | | | | | plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
* 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.
* General -Wall warning cleanup, part I.jkh1996-07-121-4/+4
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* Fix conflicts and merge into mainlinepst1996-02-273-180/+70
|
* This commit was generated by cvs2svn to compensate for changes in r14272,pst1996-02-2714-836/+1148
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import updated Berkeley DB into CSRG branchpst1996-02-2716-923/+1217
| |
* | Remove trailing whitespace.rgrimes1995-05-302-2/+2
|/
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-2717-0/+4602
OpenPOWER on IntegriCloud