summaryrefslogtreecommitdiff
path: root/databases/tdb/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'databases/tdb/patches/patch-ac')
-rw-r--r--databases/tdb/patches/patch-ac45
1 files changed, 45 insertions, 0 deletions
diff --git a/databases/tdb/patches/patch-ac b/databases/tdb/patches/patch-ac
new file mode 100644
index 00000000000..9583091b0ef
--- /dev/null
+++ b/databases/tdb/patches/patch-ac
@@ -0,0 +1,45 @@
+$NetBSD: patch-ac,v 1.1 2003/07/17 20:37:51 jmmv Exp $
+
+--- tdbtool.c.orig 2001-12-11 04:45:47.000000000 +0100
++++ tdbtool.c
+@@ -169,23 +169,23 @@ static void print_data(unsigned char *bu
+
+ 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)