summaryrefslogtreecommitdiffstats
path: root/src/util/db2
Commit message (Collapse)AuthorAgeFilesLines
* * btree/bt_delete.c, btree/bt_put.c, recno/rec_delete.c,Ezra Peisach2001-06-216-68/+76
| | | | | | | | | 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-012-1/+7
| | | | | | | 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-112-0/+5
| | | | 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-042-12/+20
| | | | | | 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-039-11/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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-017-13/+43
| | | | | | | | | | | | | | | | | * 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
* * db-config.h.in: New file; contains useful tidbits fromTom Yu2000-07-014-3/+44
| | | | | | | | | | | | | config.h.in generated by autoheader. It is needed because config.h.in has some thing we don't want to leak, like renaming of missing libc functions. * .cvsignore: Twiddle to reflect current reality. * db-int.h: #include config.h since db.h includes db-config.h which is not quite the same now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12504 dc483132-0cff-0310-8789-dd5450dbe970
* add include file copyingTom Yu2000-06-301-2/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12493 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Rework to use krb5 build systemTom Yu2000-06-3010-23/+149
| | | | | | | | | | | | | | | | | | * 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
* * db-int.h: Remove renaming for memmove, strerror, mkstemp sinceTom Yu2000-06-302-12/+5
| | | | | | this is now done by the build system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12486 dc483132-0cff-0310-8789-dd5450dbe970
* Move .cvsignore from obj to include to reflect the discontinuation ofTom Yu2000-06-303-174/+1
| | | | | | the obj directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12485 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/bt_put.c (__bt_put): Initialize "e"Ken Raeburn2000-06-262-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12434 dc483132-0cff-0310-8789-dd5450dbe970
* * dbtest.c (err): Add format attribute to decl, for typechecking under GNU CKen Raeburn2000-06-262-1/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12433 dc483132-0cff-0310-8789-dd5450dbe970
* merge from krb5-1-2-beta4Ken Raeburn2000-06-232-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12426 dc483132-0cff-0310-8789-dd5450dbe970
* Change wsanchez@apple -> tritan@mitWilfredo Sanchez2000-06-011-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12331 dc483132-0cff-0310-8789-dd5450dbe970
* log tritan's changesTom Yu1999-10-261-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11877 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, LOCAL_INCLUDES suchWilfredo Sanchez1999-10-261-38/+39
| | | | | | | that one can override CFLAGS from the command line without losing CPP search patchs and defines. Some associated Makefile cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11876 dc483132-0cff-0310-8789-dd5450dbe970
* * README.NOT.SLEEPYCAT.DB: New file; pointer to README toTom Yu1999-08-164-41/+70
| | | | | | | | | | | 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
* Rename CHANGELOG to CHANGELOG.db2 to avoid messing up things under WindowsTheodore Tso1999-04-081-0/+0
| | | | | | since there is a ChangeLog file which is different. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11345 dc483132-0cff-0310-8789-dd5450dbe970
* POSIX states that getopt returns -1 when it is done parsing options,Theodore Tso1998-05-064-2/+11
| | | | | | not EOF. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10550 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
* * recno/extern.h: Additional renamingTom Yu1998-02-131-0/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10445 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/extern.h: Additional renamingTom Yu1998-02-134-3/+40
| | | | | | | | | | | * 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10444 dc483132-0cff-0310-8789-dd5450dbe970
* * mpool/mpool.h: Additional renamingTom Yu1998-02-131-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10443 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/extern.h: Additional renamingTom Yu1998-02-131-0/+29
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10442 dc483132-0cff-0310-8789-dd5450dbe970
* * db-int.h: Additional renamingTom Yu1998-02-132-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10441 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/hash.c (__kdb2_hash_open): Rename to avoid potentialTom Yu1998-02-134-26/+37
| | | | | | | | | | | | 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
* * db.h: Rename dbopen to avoid collision with NetBSD libcTom Yu1998-02-134-0/+24
| | | | | | | | | | * db-ndbm.h: Rename lots of functions to avoid collisions with native dbm implementations. * db-int.h: Rename __hash_open to avoid potential collision with NetBSD libc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10430 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/bt_open.c: Added O_BINARY for __CYGWIN32__.Ezra Peisach1998-01-2121-31/+67
| | | | | | | | | | | | | | | | | | | | | | | | | * 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-154-6/+36
| | | | | | | | | | | | | | | 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-214-9/+19
| | | | | | | | | | * 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
* Merge V1_0_FREEZE_3 into the mainline. (Note this merge does *not*Theodore Tso1996-12-132-4/+4
| | | | | | include the doc subtree!!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9632 dc483132-0cff-0310-8789-dd5450dbe970
* * db2: overflow_page fixes, __P redefMark Eichin1996-11-116-2/+360
| | | | | | | * db2 tests: better alternate dictionary support (orignal ChangeLogs included) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9373 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (memmove.o): add -DMEMMOVE to compile as memmoveTom Yu1996-09-112-1/+6
| | | | | | (my_memmove) instead of bcopy (!!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9087 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add check for SIZEOF_INTTom Yu1996-08-283-1/+10
| | | | | | | * 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
* Use . instead of /tmp for TMPDIR. It makes things much safer whenTheodore Tso1996-08-232-1/+5
| | | | | | doing multiple "make check"'s. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8978 dc483132-0cff-0310-8789-dd5450dbe970
* Add dummy ruel so that make Makefiles is happyEzra Peisach1996-08-232-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8967 dc483132-0cff-0310-8789-dd5450dbe970
* Add prototypes for missing functions dbm_error() and dbm_clearerror()Theodore Tso1996-08-152-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8939 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
* * obj/Makefile.in: Add -Dfoo=my_foo when compiling replacementTom Yu1996-07-311-3/+3
| | | | | | | functions (so that the redefinitions in db-int.h take effect). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8870 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/hash.c, hash/hash_func.c, hash/hash_page.c: Add "static" toTom Yu1996-07-303-12/+12
| | | | | | | some function defn's that need them; they were prototyped as static but not defined as static. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8863 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-262-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8831 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore db-config.h.in which is generated by autoheaderEzra Peisach1996-07-231-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8787 dc483132-0cff-0310-8789-dd5450dbe970
* obj/dbm.c: Copy the elements between the struct DBT andEzra Peisach1996-07-232-0/+58
| | | | | | | 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
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-22103-0/+49043
OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970