2000-11-01 Ezra Peisach * configure.in (AC_COMPILE_TYPE): Declare with AC_DEFUN() instead of define() as newer versions of autoconf check for AC_REQUIRE use outside of AC_DEFUN. Thu Aug 10 23:21:01 2000 Ezra Peisach * configure.in: Add AC_PROG_INSTALL for installation of library. 2000-07-04 Ezra Peisach * test/dbtest.c: Cleanup gcc -Wall complaints with printf format strings. 2000-07-02 Ezra Peisach * recno/rec_seq.c: Include unused sccsid when LIBC_SCCS defined. * recno/rec_close.c (__rec_close): Explicit braces to avoid ambiguous `else' * btree/bt_split.c (bt_psplit): Parenthesis about && and || conditional. * btree/bt_put.c (__bt_put): Extra {} to make nested if/else unambiguous. * btree/bt_open.c (__bt_open): Add parenthesis to ensure precedence ordering. * hash/dbm.c (kdb2_dbm_firstkey): Conditionalize defintion of variables based on use. * hash/hash_func.c: Ifdef out unused static hash functions. * hash/hash.c (init_htab): Remove unused variable. 2000-07-01 Tom Yu * clib/strerror.c: #include config.h. * clib/mkstemp.c: #include config.h. * clib/memmove.c: #include config.h. * clib/Makefile.in (LOCALINCLUDES): Add -I../include to get config.h. * configure.in: Generate two config headers, one for internal use and one for external use. Rework clib replacement code to use AC_DEFINE rather than ADD_DEF. * Makefile.in (STOBJLISTS): Add clib. 2000-06-30 Tom Yu * configure.in: Rework to use krb5 build system. * Makefile.in: Rework to use krb5 build system. * btree/Makefile.in: New file. * clib/Makefile.in: New file. * db/Makefile.in: New file. * mpool/Makefile.in: New file. * recno/Makefile.in: New file. * test/Makefile.in: New file. 2000-06-26 Ken Raeburn * btree/bt_put.c (__bt_put): Initialize "e". 2000-05-01 Nalin Dahyabhai * hash/dbm.c (kdb2_dbm_open): Don't overflow buffer "path". 1999-08-15 Tom Yu * README.NOT.SLEEPYCAT.DB: New file; pointer to README to hopefully unconfuse people. * README: Add notice to the effect that this is not Berkeley or Sleepycat DB. * README.db2: Renamed from README. Fri Feb 13 14:37:47 1998 Tom Yu * recno/extern.h: Additional renaming. * hash/extern.h: Additional renaming. * hash/hash_page.c (page_to_oaddr): (is_bitmap_pgno): Declare static to avoid leaking symbols. * hash/search.h: Additional renaming. * hash/hash_log2.c (__log2): Rename explicitly. * mpool/mpool.h: Additional renaming. * btree/extern.h: Additional renaming. * hash/hash.c (__kdb2_hash_open): Rename to avoid potential collision with NetBSD libc. * hash/dbm.c: Rename lots of functions to avoid colliding with native dbm implementations. * db/db.c (kdb2_dbopen): Rename to avoid colliding with NetBSD libc. Wed Jan 21 10:17:34 1998 Ezra Peisach * btree/bt_open.c: Added O_BINARY for __CYGWIN32__. * clib/mkstemp.c: Added O_BINARY for __CYGWIN32__. * db/db.c: Added O_BINARY for __CYGWIN32__. * hash/dbm.c: Added O_BINARY for __CYGWIN32__. * hash/hash.c: Added O_BINARY for __CYGWIN32__. * hash/hsearch.c: Added O_BINARY for __CYGWIN32__. * include/db-int.h: Added O_BINARY for __CYGWIN32__. * recno/rec_open.c: Added O_BINARY for __CYGWIN32__. * test/dbtest.c: Added O_BINARY for __CYGWIN32__. * test/SEQ_TEST/t.c: Added O_BINARY for __CYGWIN32__. * test/btree.tests/main.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/driver2.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tcreat3.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tdel.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/thash4.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tread2.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tseq.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tverify.c: Added O_BINARY for __CYGWIN32__. * test/hash2.tests/bigtest.c: Added O_BINARY for __CYGWIN32__. * test/hash2.tests/passtest.c: Added O_BINARY for __CYGWIN32__. Changes originally by Jeremy Allison (jra@cygnus.com) Thu Jan 15 11:34:13 1998 Ezra Peisach * hash/hash_bigkey.c (collect_key, collect_data): Cast malloc return value to correct types. (raeburn@cygnus.com) * obj/Makefile.in (check): Set srcdir in environment. (raeburn@cygnus.com) * configure.in (AC_COMPILE_TYPE): replacment for AC_CHECK_TYPE that uses AC_TRY_COMPILE instead of AC_EGREP_CPP. For now, only use it for the int32 types (where AC_CHECK_TYPE gets the wrong result on __CYGWIN32__) and plan that AC_CHECK_TYPE itself gets repaired. (Fix by eichin@cygnus.com) Sun Dec 21 18:33:14 1997 Tom Yu * hash/dbm.c: Rename the errno member of HTAB. * hash/hash.h: Rename the errno member of HTAB to local_errno to avoid a collision with a glibc macro. * hash/hash.c: Rename the errno member of HTAB to local_errno to avoid a collision with a glibc macro. Mon Nov 11 17:01:29 1996 Mark Eichin * db2: overflow_page fixes, __P redef * db2 tests: better alternate dictionary support Tue Oct 8 22:55:01 1996 Mark W. Eichin * hash/hash.h (DEF_BUCKET_SIZE, DEF_SEGSIZE): now derived from DEF_BUCKET_SHIFT and DEF_SEGSIZE_SHIFT respectively, for consistency. Tue Oct 8 22:43:26 1996 Mark W. Eichin * hash/hash_page.c (__add_ovflpage, __add_bigpage): overflow_page can return a 0 indicating a failure -- callers must check it instead of corrupting the database. (overflow_page): document apparent error return. Fri Aug 30 20:05:57 1996 Ken Raeburn * test/dictionary: New file, list of garbage words. * test/run.test (main): Use it if no other dictionary can be found. Set dictsize with size of dictionary. (test12, test20): Skip if dictionary is too small. Wed Aug 28 17:25:10 1996 Tom Yu * configure.in: Add check for SIZEOF_INT. * include/db.h: Check SIZEOF_INT rather than UINT_MAX; it's broken under Ultrix. Thu Aug 22 23:13:32 1996 Ezra Peisach * Makefile.in: Add dummy rule for Makefiles. Wed Jul 31 03:35:47 1996 Tom Yu * obj/Makefile.in: Add -Dfoo=my_foo when compiling replacement functions (so that the redefinitions in db-int.h take effect). Mon Jul 29 23:24:22 1996 Tom Yu * hash/hash.c, hash/hash_func.c, hash/hash_page.c: Add "static" to some function defn's that need them; they were prototyped as static but not defined as static. Fri Jul 26 00:41:45 1996 Theodore Y. Ts'o * Makefile.in (install): Add a blank install target to keep the top-level "make install" happy. Tue Jul 23 16:08:43 1996 Ezra Peisach * hash/dbm.c: Copy elements from the datum to an internal DBT. Handles case of differences in size of size fields. Fri Jun 21 00:07:57 1996 Marc Horowitz * hash/dbm.c (delete, store): dbm_rdonly() doesn't exist on some systems. In addition, the handle is really a DB handle, so it would break if it did exist. Remove calls to it. Wed Apr 10 21:39:54 1996 Marc Horowitz * hash/hash_page.c (__addel): It is possible to damage a page if a bigpair is added and there's not enough room. Check to make sure there's enough room before adding anything. * hash/hash.c (hdestroy, cursor_delete): there were still a few things in the hashp which weren't being freed, causing a small memory leak. Sun Apr 7 01:40:54 1996 Marc Horowitz * clib/mk{,s}temp.c: renamed to accurately reflect the function being provided (ultrix 4.2 has one, but not the other). * [way too many files to list here]: rename pgno_t to db_pgno_t, since this symbol is defined in on at least one OS to a non-compatible type (irix 5.2 defines it as long; db wants it to be u_int32_t). * hash/dbm.c, include/db-ndbm.h: use and reference the compat ndbm.h file * btree/bt_open.c, hash/hash.c, hash/hash_page.c, include/db-int.h, include/db.h: build fixes - use configure to set db internal cpp symbols for endianness stuff, move __P definition from db-int.h to db.h. * configure.in, acconfig.h, Makefile.in, obj/configure.in, obj/acconfig.in, obj/Makefile.in: rearrange the configure inputs to deal properly with configure at the top level, and with a multiarchitecture build using VPATH Sat Apr 6 16:43:26 1996 Marc Horowitz * obj/Makefile.in: random cleanup * btree/*.c db/db.c hash/*.c mpool/mpool.c recno/*.c test/SEQ_TEST/t.c test/dbtest.c test/*/*.c: use "db-int.h" instead of "db.h". * include/db.h, include/db-int.h: rototilled to be portable and sensible, using configure whenever possible. * btree/*.c db/db.c hash/*.c mpool/mpool.c recno/*.c test/SEQ_TEST/t.c test/dbtest.c test/*/*.c: use "db.h" instead of . * hash/hash.h, btree/btree.h, mpool/mpool.c: #include "mpool.h" instead of . * test/hash1.tests/thash4.c: remove unused and nonportable * test/hash2.tests/bigtest.c: replace with * clib/memmove.c: remove * mpool/mpool.c, mpool/mpool.h, hash/hash.h, include/db-queue.h: include "db-queue.h" instead of , since it's not part of any OS standard. * obj/*: first attempt at autoconfiscation * test/hash1.tests/driver2.c (main), test/hash1.tests/tseq.c (main): replace berkeley memoryisms with ansi ones. * btree/bt_open.c (tmp): use sprintf instead of snprintf(). conditionalize signal stuff on SIG_BLOCK instead of using special magic in a header file.