+++ /dev/null
---- tdb-1.0.6/Makefile.am.orig 2001-12-11 05:05:13.000000000 +0100
-+++ tdb-1.0.6/Makefile.am 2004-11-12 00:33:16.133127976 +0100
-@@ -14,7 +14,7 @@
- endif
-
- noinst_PROGRAMS=tdbspeed tdbiterate $(TDBTEST) $(TDBTORTURE)
--bin_PROGRAMS=tdbtool tdbdump
-+bin_PROGRAMS=tdbtool tdbdump tdbspeed tdbiterate $(TDBTEST) $(TDBTORTURE)
-
- lib_LTLIBRARIES=libtdb.la
-
+++ /dev/null
---- tdb-1.0.6/tdbtool.c.orig Tue Dec 11 04:45:47 2001
-+++ tdb-1.0.6/tdbtool.c Mon Jul 28 11:26:36 2003
-@@ -169,23 +169,22 @@
-
- static void help(void)
- {
-- printf("
--tdbtool:
-- create dbname : create a database
-- open dbname : open an existing database
-- erase : erase the database
-- dump dumpname : dump the database as strings
-- insert key data : insert a record
-- store key data : store a record (replace)
-- show key : show a record by key
-- delete key : delete a record by key
-- list : print the database hash table and freelist
-- free : print the database freelist
-- 1 | first : print the first record
-- n | next : print the next record
-- q | quit : terminate
-- \\n : repeat 'next' command
--");
-+ printf("\n\
-+tdbtool: \n\
-+ create dbname : create a database\n\
-+ open dbname : open an existing database\n\
-+ erase : erase the database\n\
-+ dump dumpname : dump the database as strings\n\
-+ insert key data : insert a record\n\
-+ store key data : store a record (replace)\n\
-+ show key : show a record by key\n\
-+ delete key : delete a record by key\n\
-+ list : print the database hash table and freelist\n\
-+ free : print the database freelist\n\
-+ 1 | first : print the first record\n\
-+ n | next : print the next record\n\
-+ q | quit : terminate\n\
-+ \\n : repeat 'next' command\n");
- }
-
- static void terror(char *why)
+++ /dev/null
---- tdb-1.0.6/tdb.c Tue Dec 11 14:39:51 2001
-+++ tdb-1.0.6-lbw/tdb.c Mon Dec 2 14:50:37 2002
-@@ -1303,6 +1303,9 @@
- char *p = NULL;
- int ret = 0;
-
-+ /* do not allow a store to read-only database */
-+ if (tdb->read_only) return -1;
-+
- /* find which hash bucket it is in */
- hash = tdb_hash(&key);
- if (!tdb_keylocked(tdb, hash))
---- tdb-1.0.6/tdb_open.3 Tue May 8 23:35:46 2001
-+++ tdb-1.0.6-lbw/tdb_open.3 Mon Dec 2 14:53:03 2002
-@@ -20,10 +20,8 @@
- .TP
- .B TDB_INTERNAL
- Don't use a file, instead store the data in memory. The
--.I pathname
--,
--.I open_flags
--, and
-+.I pathname
-+and
- .I mode
- are ignored in
- this case. This is useful if you need a quick associative array or map.