diff -cr gdbm-1.8.1/ChangeLog gdbm-1.8.2/ChangeLog *** gdbm-1.8.1/ChangeLog Wed Sep 25 15:19:14 2002 --- gdbm-1.8.2/ChangeLog Fri Sep 27 16:25:19 2002 *************** *** 1,3 **** --- 1,9 ---- + Fri Sep 27 16:12:44 PDT 2002 Jason Downs (downsj@downsj.com) + + * Makefile.in: Remove `info' target from all, since we don't even + bother installing the one we built anyway. + + * Fix a few checks against dbf.read_write. Wed Sep 25 15:19:00 PDT 2002 Jason Downs (downsj@downsj.com) diff -cr gdbm-1.8.1/Makefile.in gdbm-1.8.2/Makefile.in *** gdbm-1.8.1/Makefile.in Wed Sep 25 14:50:56 2002 --- gdbm-1.8.2/Makefile.in Fri Sep 27 16:27:08 2002 *************** *** 7,13 **** CC = @CC@ LIBTOOL = @LIBTOOL@ ! # GDBM 1.8.1 builds shared libraries version 3.0 SHLIB_VER = 3 0 0 INSTALL = @INSTALL@ --- 7,13 ---- CC = @CC@ LIBTOOL = @LIBTOOL@ ! # GDBM 1.8.2 builds shared libraries version 3.0 SHLIB_VER = 3 0 0 INSTALL = @INSTALL@ *************** *** 123,129 **** DISTFILES = $(SRCS) $(HDRS) $(MSCFILES) ! all: libgdbm.la libgdbm_compat.la info progs: $(PROGS) --- 123,129 ---- DISTFILES = $(SRCS) $(HDRS) $(MSCFILES) ! all: libgdbm.la libgdbm_compat.la progs: $(PROGS) diff -cr gdbm-1.8.1/NEWS gdbm-1.8.2/NEWS *** gdbm-1.8.1/NEWS Wed Sep 25 15:16:09 2002 --- gdbm-1.8.2/NEWS Fri Sep 27 16:28:54 2002 *************** *** 1,3 **** --- 1,6 ---- + CHANGES from 1.8.1 to 1.8.2 + 1. Allow `NEWDB'-opened databases to actually, well, store records. + CHANGES from 1.8 to 1.8.1 1. Lots of bug fixes, including a data corruption bug. 2. Updated to current autoconf and libtool. diff -cr gdbm-1.8.1/README gdbm-1.8.2/README *** gdbm-1.8.1/README Wed Sep 25 14:52:22 2002 --- gdbm-1.8.2/README Fri Sep 27 16:26:45 2002 *************** *** 1,7 **** GNU dbm is a set of database routines that use extendible hashing and works similar to the standard UNIX dbm routines. ! This is release 1.8.1 of GNU dbm. To compile gdbm: --- 1,7 ---- GNU dbm is a set of database routines that use extendible hashing and works similar to the standard UNIX dbm routines. ! This is release 1.8.2 of GNU dbm. To compile gdbm: *************** *** 20,30 **** a) make install-compat - (You might want to "make -n install" to make sure it will put things - were you want them.) - Please report bugs to ! bug-gnu-utils@prep.ai.mit.edu ------------------------------------------ --- 20,27 ---- a) make install-compat Please report bugs to ! bug-gnu-utils@gnu.org ------------------------------------------ diff -cr gdbm-1.8.1/autom4te.cache/requests gdbm-1.8.2/autom4te.cache/requests *** gdbm-1.8.1/autom4te.cache/requests Wed Sep 25 14:22:09 2002 --- gdbm-1.8.2/autom4te.cache/requests Fri Sep 27 16:23:50 2002 *************** *** 24,31 **** 'AC_FUNC_SETVBUF_REVERSED' => 1, 'AC_HEADER_SYS_WAIT' => 1, 'AC_TYPE_UID_T' => 1, - 'AM_CONDITIONAL' => 1, 'AC_CHECK_LIB' => 1, 'AC_PROG_LN_S' => 1, 'AC_FUNC_MEMCMP' => 1, 'AC_FUNC_FORK' => 1, --- 24,31 ---- 'AC_FUNC_SETVBUF_REVERSED' => 1, 'AC_HEADER_SYS_WAIT' => 1, 'AC_TYPE_UID_T' => 1, 'AC_CHECK_LIB' => 1, + 'AM_CONDITIONAL' => 1, 'AC_PROG_LN_S' => 1, 'AC_FUNC_MEMCMP' => 1, 'AC_FUNC_FORK' => 1, *************** *** 47,54 **** 'AC_TYPE_MODE_T' => 1, 'AC_CHECK_TYPES' => 1, 'AC_PROG_YACC' => 1, - 'AC_TYPE_PID_T' => 1, 'AC_FUNC_STRERROR_R' => 1, 'AC_STRUCT_ST_BLOCKS' => 1, 'AC_PROG_GCC_TRADITIONAL' => 1, 'AC_TYPE_SIGNAL' => 1, --- 47,54 ---- 'AC_TYPE_MODE_T' => 1, 'AC_CHECK_TYPES' => 1, 'AC_PROG_YACC' => 1, 'AC_FUNC_STRERROR_R' => 1, + 'AC_TYPE_PID_T' => 1, 'AC_STRUCT_ST_BLOCKS' => 1, 'AC_PROG_GCC_TRADITIONAL' => 1, 'AC_TYPE_SIGNAL' => 1, *************** *** 83,93 **** 'AC_FUNC_MALLOC' => 1, 'AC_FUNC_ERROR_AT_LINE' => 1, 'AC_FUNC_FSEEKO' => 1, - 'AC_FUNC_MMAP' => 1, 'AC_STRUCT_TM' => 1, 'AC_SUBST' => 1, ! 'AC_PROG_CC' => 1, ! 'AC_PROG_LIBTOOL' => 1 } ], 'Request' ) ); --- 83,93 ---- 'AC_FUNC_MALLOC' => 1, 'AC_FUNC_ERROR_AT_LINE' => 1, 'AC_FUNC_FSEEKO' => 1, 'AC_STRUCT_TM' => 1, + 'AC_FUNC_MMAP' => 1, 'AC_SUBST' => 1, ! 'AC_PROG_LIBTOOL' => 1, ! 'AC_PROG_CC' => 1 } ], 'Request' ) ); diff -cr gdbm-1.8.1/gdbm.3 gdbm-1.8.2/gdbm.3 *** gdbm-1.8.1/gdbm.3 Wed Sep 25 14:59:15 2002 --- gdbm-1.8.2/gdbm.3 Fri Sep 27 16:25:55 2002 *************** *** 1,5 **** ! .ds ve 1.8.1 ! .TH GDBM 3 9/26/2002 .SH NAME GDBM - The GNU database manager. Includes \fBdbm\fR and \fBndbm\fR compatability. (Version \*(ve.) --- 1,5 ---- ! .ds ve 1.8.2 ! .TH GDBM 3 9/27/2002 .SH NAME GDBM - The GNU database manager. Includes \fBdbm\fR and \fBndbm\fR compatability. (Version \*(ve.) diff -cr gdbm-1.8.1/gdbm.info gdbm-1.8.2/gdbm.info *** gdbm-1.8.1/gdbm.info Wed Sep 25 14:32:07 2002 --- gdbm-1.8.2/gdbm.info Fri Sep 27 16:27:27 2002 *************** *** 27,33 **** File: gdbm.info, Node: Top, Next: Copying, Prev: (dir), Up: (dir) GNU `dbm' is a library of functions implementing a hashed database ! on a disk file. This manual documents GNU `dbm' Version 1.8.1 (`gdbm'). The software was written by Philip A. Nelson. This document was originally written by Pierre Gaumond from texts written by Phil. --- 27,33 ---- File: gdbm.info, Node: Top, Next: Copying, Prev: (dir), Up: (dir) GNU `dbm' is a library of functions implementing a hashed database ! on a disk file. This manual documents GNU `dbm' Version 1.8.2 (`gdbm'). The software was written by Philip A. Nelson. This document was originally written by Pierre Gaumond from texts written by Phil. *************** *** 657,663 **** If you want to compile an old C program that used UNIX `dbm' or `ndbm' and want to use `gdbm' files, execute the following `cc' command: ! cc ... -L /usr/local/lib -lgdbm  File: gdbm.info, Node: Conversion, Next: Bugs, Prev: Compatibility, Up: Top --- 657,663 ---- If you want to compile an old C program that used UNIX `dbm' or `ndbm' and want to use `gdbm' files, execute the following `cc' command: ! cc ... -L/usr/local/lib -lgdbm -lgdbm_compat  File: gdbm.info, Node: Conversion, Next: Bugs, Prev: Compatibility, Up: Top *************** *** 750,756 **** Node: Locking19838 Node: Variables20426 Node: Compatibility20850 ! Node: Conversion23224 ! Node: Bugs24038  End Tag Table --- 750,756 ---- Node: Locking19838 Node: Variables20426 Node: Compatibility20850 ! Node: Conversion23237 ! Node: Bugs24051  End Tag Table diff -cr gdbm-1.8.1/gdbm.texinfo gdbm-1.8.2/gdbm.texinfo *** gdbm-1.8.1/gdbm.texinfo Wed Sep 25 15:01:39 2002 --- gdbm-1.8.2/gdbm.texinfo Fri Sep 27 16:26:13 2002 *************** *** 51,57 **** @sp 1 @center Edition 1.5 @sp 1 ! @center for GNU @code{dbm}, Version 1.8.1. @page @null @vskip 0pt plus 1filll --- 51,57 ---- @sp 1 @center Edition 1.5 @sp 1 ! @center for GNU @code{dbm}, Version 1.8.2. @page @null @vskip 0pt plus 1filll *************** *** 59,66 **** @sp 2 This is Edition 1.5 of the @cite{GNU @code{dbm} Manual}, for @code{gdbm} ! Version 1.8.1. @* ! Last updated September 26, 2002 Published by the Free Software Foundation @* 675 Massachusetts Avenue, @* --- 59,66 ---- @sp 2 This is Edition 1.5 of the @cite{GNU @code{dbm} Manual}, for @code{gdbm} ! Version 1.8.2. @* ! Last updated September 27, 2002 Published by the Free Software Foundation @* 675 Massachusetts Avenue, @* *************** *** 85,91 **** @node Top, Copying, (dir), (dir) @ifinfo GNU @code{dbm} is a library of functions implementing a hashed database ! on a disk file. This manual documents GNU @code{dbm} Version 1.8.1 (@code{gdbm}). The software was written by Philip A. Nelson. This document was originally written by Pierre Gaumond from texts written by Phil. --- 85,91 ---- @node Top, Copying, (dir), (dir) @ifinfo GNU @code{dbm} is a library of functions implementing a hashed database ! on a disk file. This manual documents GNU @code{dbm} Version 1.8.2 (@code{gdbm}). The software was written by Philip A. Nelson. This document was originally written by Pierre Gaumond from texts written by Phil. diff -cr gdbm-1.8.1/gdbmclose.c gdbm-1.8.2/gdbmclose.c *** gdbm-1.8.1/gdbmclose.c Tue May 18 17:16:06 1999 --- gdbm-1.8.2/gdbmclose.c Fri Sep 27 16:10:40 2002 *************** *** 43,49 **** register int index; /* For freeing the bucket cache. */ /* Make sure the database is all on disk. */ ! if (dbf->read_write == GDBM_WRITER) fsync (dbf->desc); /* Close the file and free all malloced memory. */ --- 43,49 ---- register int index; /* For freeing the bucket cache. */ /* Make sure the database is all on disk. */ ! if (dbf->read_write != GDBM_READER) fsync (dbf->desc); /* Close the file and free all malloced memory. */ diff -cr gdbm-1.8.1/gdbmdelete.c gdbm-1.8.2/gdbmdelete.c *** gdbm-1.8.1/gdbmdelete.c Tue May 18 17:16:06 1999 --- gdbm-1.8.2/gdbmdelete.c Fri Sep 27 16:11:33 2002 *************** *** 52,58 **** int free_size; /* First check to make sure this guy is a writer. */ ! if (dbf->read_write != GDBM_WRITER) { gdbm_errno = GDBM_READER_CANT_DELETE; return -1; --- 52,58 ---- int free_size; /* First check to make sure this guy is a writer. */ ! if (dbf->read_write == GDBM_READER) { gdbm_errno = GDBM_READER_CANT_DELETE; return -1; diff -cr gdbm-1.8.1/gdbmstore.c gdbm-1.8.2/gdbmstore.c *** gdbm-1.8.1/gdbmstore.c Tue May 18 17:16:06 1999 --- gdbm-1.8.2/gdbmstore.c Fri Sep 27 16:12:18 2002 *************** *** 65,71 **** /* First check to make sure this guy is a writer. */ ! if (dbf->read_write != GDBM_WRITER) { gdbm_errno = GDBM_READER_CANT_STORE; return -1; --- 65,71 ---- /* First check to make sure this guy is a writer. */ ! if (dbf->read_write == GDBM_READER) { gdbm_errno = GDBM_READER_CANT_STORE; return -1; Only in gdbm-1.8.2: obj diff -cr gdbm-1.8.1/version.c gdbm-1.8.2/version.c *** gdbm-1.8.1/version.c Wed Sep 25 14:29:39 2002 --- gdbm-1.8.2/version.c Fri Sep 27 16:25:41 2002 *************** *** 30,33 **** /* Keep a string with the version number in it! */ const char * gdbm_version = ! "This is GDBM version 1.8.1, as of September 26, 2002."; --- 30,33 ---- /* Keep a string with the version number in it! */ const char * gdbm_version = ! "This is GDBM version 1.8.2, as of September 27, 2002.";