NetBSD/lib/libc/db
jmc b2f782612f Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944
2004-06-20 22:20:14 +00:00
..
btree Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
db Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
hash Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
man Revert part of previous. 2004-05-06 19:16:32 +00:00
mpool Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
recno Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
Makefile.inc
README
changelog
db2netbsd

README

#	$NetBSD: README,v 1.3 1996/05/03 21:17:07 cgd Exp $
#	@(#)README	8.27 (Berkeley) 9/1/94

This is version 1.85 of the Berkeley DB code.

For information on compiling and installing this software, see the file
PORT/README.

Newer versions of this software will periodically be made available by
anonymous ftp from ftp.cs.berkeley.edu.  An archive in compressed format
is in ucb/4bsd/db.tar.Z, or in gzip format in ucb/4bsd/db.tar.gz.  If
you'd like to receive announcements of future releases of this software,
send email to the contact address below.

Email questions may be addressed to Keith Bostic at bostic@cs.berkeley.edu.

============================================
Distribution contents:

Makefile.inc	Ignore this, it's the 4.4BSD subsystem Makefile.
PORT		The per OS/architecture directories to use to build
		libdb.a, if you're not running 4.4BSD.  See the file
		PORT/README for more information.
README		This file.
btree		The B+tree routines.
changelog	List of changes, per version.
db		The dbopen(3) interface routine.
docs		Various USENIX papers, and the formatted manual pages.
hash		The extended linear hashing routines.
man		The unformatted manual pages.
mpool		The memory pool routines.
recno		The fixed/variable length record routines.
test		Test package.

============================================
Debugging:

If you're running a memory checker (e.g. Purify) on DB, make sure that
you recompile it with "-DPURIFY" in the CFLAGS, first.  By default,
allocated pages are not initialized by the DB code, and they will show
up as reads of uninitialized memory in the buffer write routines.