summaryrefslogtreecommitdiffstats
path: root/src/util/db2/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Move the db2 library to the site of its one use, the kdb-db2 module.Ken Raeburn2005-10-041-484/+0
| | | | | | Update configuration scripts, pathname make variables, etc., accordingly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17407 dc483132-0cff-0310-8789-dd5450dbe970
* All configure.in scripts: Use K5_AC_INIT instead of AC_INITKen Raeburn2005-08-201-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17342 dc483132-0cff-0310-8789-dd5450dbe970
* * mpool/mpool.c (mpool_get, mpool_write): Check that the offset calculationKen Raeburn2004-06-191-0/+5
| | | | | | didn't overflow. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16495 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (include/generated.stmp): New intermediate target file, toKen Raeburn2004-06-121-0/+11
| | | | | | | | | | prevent repeated generation of unchanging header files. (include/config.h, include/db-config.h): Depend on it. ($(srcdir)/include/autoconf.stmp, $(srcdir)/include/config.h.in): Likewise. (clean-includes): Delete the new intermediate target files. * configure.in: Generate include/generated.stmp when config.status is run. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16438 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in ($(srcdir)/include/config.h.in): Always use --include, never tryKen Raeburn2004-06-081-0/+5
| | | | | | --localdir. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16421 dc483132-0cff-0310-8789-dd5450dbe970
* Change all uses of LIB in UNIX makefiles to LIBBASE, for better WindowsKen Raeburn2004-06-041-0/+4
| | | | | | | | | compatibility. (Windows nmake exports make variables into the environment, and LIB is treated by the Windows linker as a search path for libraries, thus breaking the linking on Windows of anything needing libraries from the search path in directories where we build libraries on UNIX.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16411 dc483132-0cff-0310-8789-dd5450dbe970
* Use compile-time tests using system headers to determine byte order on AIX.Ken Raeburn2004-05-231-0/+4
| | | | | | | | | | | (cf ticket 2551, already pulled up and marked resolved) * configure.in: Check for sys/param.h too. * include/db-int.h: Include sys/param.h if available. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16351 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for machine/endian.h too.Ken Raeburn2004-05-071-0/+4
| | | | | | | | | | * include/db-int.h: Include machine/endian.h if available. Check for __LITTLE_ENDIAN__ and __BIG_ENDIAN__, _MIPSEB and _MIPSEL. ticket: 2551 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16322 dc483132-0cff-0310-8789-dd5450dbe970
* Since the AES code builds, and doesn't do any configure-time byte order checksKen Raeburn2004-05-061-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | that I noticed, something similar ought to work for the DB code. This is the first cut; nightly testing builds should tell us if it's sufficient on most of the platforms we work on. * include/db-int.h: Include stdlib.h, and endian.h if available. (LITTLE_ENDIAN, BIG_ENDIAN, BYTE_ORDER): If not defined, and if versions with one or two leading underscores are defined, define the no-underscore form in terms of the with-underscore one. (DB_BYTE_ORDER): Define by checking LITTLE_ENDIAN, BIG_ENDIAN, and BYTE_ORDER; report an error if that doesn't work. Don't check WORDS_BIGENDIAN. * Makefile.in (all-prerecurse): Make sure headers generated by config.status are up to date. (include/config.h, $(srcdir)/include/config.h.in, include/db-config.h): New rules. * configure.in: Don't check byte order here. Check for endian.h. ticket: 2551 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16317 dc483132-0cff-0310-8789-dd5450dbe970
* Add files containing the export lists used on UNIX, in each directoryKen Raeburn2004-04-221-0/+4
| | | | | | | | | | | | | | where we build a shared library, whether or not it gets installed. These should match the complete AIX export lists for a full build including krb4 support, and will eventually be used on other UNIX platforms, and cut down to just the symbols we actually want to export. We'll also have to add additional information, eventually, for versioning and such, but currently this is just a list of C symbol names. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16259 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/bt_seq.c: Include string.hKen Raeburn2004-04-031-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16228 dc483132-0cff-0310-8789-dd5450dbe970
* don't install in-tree libdbTom Yu2003-04-021-0/+5
| | | | | | | | | | | | | Don't install the in-tree libdb. This requires that libkdb, etc. explicitly pull in the object files of the in-tree libdb if not using the system libdb. ticket: new status: open target_version: 1.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15320 dc483132-0cff-0310-8789-dd5450dbe970
* Search for ar, ranlib, install in KRB5_BUILD_LIBRARY* macros rather thanKen Raeburn2003-01-101-0/+2
| | | | | | explicitly in directories using those macros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15111 dc483132-0cff-0310-8789-dd5450dbe970
* Use markers in Makefile.in rather than rules in configure.in to indicate whenKen Raeburn2003-01-101-0/+10
| | | | | | | | to use the lib.in and libobj.in makefile fragments. Pushing this per-directory info into Makefile.in will make it a little easier to work on combining configure scripts for multiple directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15107 dc483132-0cff-0310-8789-dd5450dbe970
* Only system headers should declare errnoSam Hartman2003-01-051-0/+4
| | | | | | | | | | | | | Many parts of krb5 declare errno in source files using extern int errno. This has not been needed in ANSI C for a long time, and actively breaks modern versions of glibc. So these declarations are removed and errno.h included where necessary. Ticket: new Component: krb5-build git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15082 dc483132-0cff-0310-8789-dd5450dbe970
* use stdint.h and inttypes.h if availableKen Raeburn2002-09-051-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14833 dc483132-0cff-0310-8789-dd5450dbe970
* * acconfig.h: Remove file. All handled by configure.in nowEzra Peisach2002-09-031-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14813 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-291-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/bt_split.c (bt_psplit): Correctly account forTom Yu2002-08-281-0/+6
| | | | | | | sizeof(indx_t) when computing space used in a page by an item. [patch from www.sleepycat.com] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14780 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-231-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIBMINOR): Bump due to addition of bt_rseq()Tom Yu2002-08-231-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hash/hash_debug.c: Remove inclusion of compat.h, as we don't have it in our build system. * btree/extern.h: Add missing prototypes/renames for __bt_dmpage(). Add renames for bt_rseq() support functions. * btree/bt_seq.c (bt_rseq): New function; like __bt_seq() but does recursive descent rather than using the prev/next pointers. This will catch some pages that might be missed if the database is inconsistent. Added support functions for bt_rseq() as well. * btree/bt_page.c (__bt_free): Set B_METADIRTY when updating free list. (__bt_new): Set B_METADIRTY when updating free list. [patch from www.sleepycat.com] * btree/bt_debug.c (__bt_dump): Bound loop by number of pages actually in file to avoid getting a nigh-infinite number of all-zeroes pages. (__bt_dmpage): Print a newline after dumping the meta page. (__bt_dpage): Add DB* parameter; use this to get pagesize in order to limit dumping of page contents, in case NEXTINDEX(h) happens to be bogus. (__bt_stat): Bound loop by number of pages actually in file so as to stop counting pages after the actual end of file. * btree/bt_close.c (__bt_sync): Apply a Kerbnet fix from long ago; don't return prematurely when B_METADIRTY is set but B_MODIFIED is clear. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14752 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SUBDIROBJLISTS): New variableKen Raeburn2002-08-151-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14720 dc483132-0cff-0310-8789-dd5450dbe970
* Check test results more carefully.Ken Raeburn2002-01-041-0/+5
| | | | | | Fix big-endian-64-bit bug in btree implementation (for sparcv9). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14086 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add optional argument to AC_DEFINE to provideEzra Peisach2001-10-241-0/+7
| | | | | | | | comment in generated header file. * acconfig.h: Remove int32_t and u_int32_t, handled by configure.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13843 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/hash_func.c (hash4): Declare first argument constEzra Peisach2001-07-091-0/+9
| | | | | | | | | * hash/hash.h: struct HTAB fname element now const. * hash/hash.c: Declare third argument to hash_access and init_hash const. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13590 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/dbm.c: Include db-dbm.h for prototypesEzra Peisach2001-07-061-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13573 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/hash_log2.c: Include hash.h, page.h and extern.h forEzra Peisach2001-07-051-0/+4
| | | | | | prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13555 dc483132-0cff-0310-8789-dd5450dbe970
* * test/dbtest.c: Cast argument to isspace() to int. Do not shadowEzra Peisach2001-06-211-0/+8
| | | | | | | | | global variables type and flags. * btree/bt_search.c, btree/bt_seq.c, recno/rec_search.c: Change local variable index to idx. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13467 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/bt_delete.c, btree/bt_put.c, recno/rec_delete.c,Ezra Peisach2001-06-211-0/+8
| | | | | | | | | recno/rec_put.c: Change local variable index to idx. * hash/hash_page.c: Change local variable stat to status to prevent shadowing system function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13437 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (AC_COMPILE_TYPE): Declare with AC_DEFUN() insteadEzra Peisach2000-11-011-0/+6
| | | | | | | of define() as newer versions of autoconf check for AC_REQUIRE use outside of AC_DEFUN. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12830 dc483132-0cff-0310-8789-dd5450dbe970
* Add AC_PROG_INSTALL to allow the library to be installedEzra Peisach2000-08-111-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12620 dc483132-0cff-0310-8789-dd5450dbe970
* * test/dbtest.c: Cleanup gcc -Wall complaints with printf formatEzra Peisach2000-07-041-0/+5
| | | | | | strings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12532 dc483132-0cff-0310-8789-dd5450dbe970
* * recno/rec_seq.c: Include unused sccsid when LIBC_SCCS definedEzra Peisach2000-07-031-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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. gcc -Wall warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12515 dc483132-0cff-0310-8789-dd5450dbe970
* * clib/strerror.c: #include config.hTom Yu2000-07-011-0/+17
| | | | | | | | | | | | | | | | | * 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12505 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Rework to use krb5 build systemTom Yu2000-06-301-0/+18
| | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12487 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/bt_put.c (__bt_put): Initialize "e"Ken Raeburn2000-06-261-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12434 dc483132-0cff-0310-8789-dd5450dbe970
* merge from krb5-1-2-beta4Ken Raeburn2000-06-231-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12426 dc483132-0cff-0310-8789-dd5450dbe970
* * README.NOT.SLEEPYCAT.DB: New file; pointer to README toTom Yu1999-08-161-0/+10
| | | | | | | | | | | hopefully unconfuse people. * README: Add notice to the effect that this is not Berkeley or Sleepycat DB. * README.db2: Renamed from README. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11661 dc483132-0cff-0310-8789-dd5450dbe970
* Document previous changesTom Yu1998-02-131-0/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10446 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/hash.c (__kdb2_hash_open): Rename to avoid potentialTom Yu1998-02-131-0/+11
| | | | | | | | | | | | 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10431 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/bt_open.c: Added O_BINARY for __CYGWIN32__.Ezra Peisach1998-01-211-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | * 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) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10364 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/hash_bigkey.c (collect_key, collect_data): Cast mallocEzra Peisach1998-01-151-0/+15
| | | | | | | | | | | | | | | 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) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10351 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/dbm.c: Rename the errno member of HTABTom Yu1997-12-211-0/+10
| | | | | | | | | | * 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10342 dc483132-0cff-0310-8789-dd5450dbe970
* * db2: overflow_page fixes, __P redefMark Eichin1996-11-111-0/+25
| | | | | | | * db2 tests: better alternate dictionary support (orignal ChangeLogs included) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9373 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add check for SIZEOF_INTTom Yu1996-08-281-0/+7
| | | | | | | * include/db.h: Check SIZEOF_INT rather than UINT_MAX; it's broken under Ultrix. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8997 dc483132-0cff-0310-8789-dd5450dbe970
* Add dummy ruel so that make Makefiles is happyEzra Peisach1996-08-231-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8967 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Tom Yu1996-07-311-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8871 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Tom Yu1996-07-301-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8862 dc483132-0cff-0310-8789-dd5450dbe970
* Add a blank install target to keep the top-level "make install" happyTheodore Tso1996-07-261-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8831 dc483132-0cff-0310-8789-dd5450dbe970
* obj/dbm.c: Copy the elements between the struct DBT andEzra Peisach1996-07-231-0/+5
| | | | | | | datum. Otherwise on an Alpha where the size fields are different sizes, casting loses with random stack garbage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8786 dc483132-0cff-0310-8789-dd5450dbe970