]> git.pld-linux.org Git - packages/tdb.git/blame - tdb-gcc33.patch
- up to 1.1.2; switch to samba implementation; add python bindings
[packages/tdb.git] / tdb-gcc33.patch
CommitLineData
5e224c10
JB
1--- tdb-1.0.6/tdbtool.c.orig Tue Dec 11 04:45:47 2001
2+++ tdb-1.0.6/tdbtool.c Mon Jul 28 11:26:36 2003
3@@ -169,23 +169,22 @@
4
5 static void help(void)
6 {
7- printf("
8-tdbtool:
9- create dbname : create a database
10- open dbname : open an existing database
11- erase : erase the database
12- dump dumpname : dump the database as strings
13- insert key data : insert a record
14- store key data : store a record (replace)
15- show key : show a record by key
16- delete key : delete a record by key
17- list : print the database hash table and freelist
18- free : print the database freelist
19- 1 | first : print the first record
20- n | next : print the next record
21- q | quit : terminate
22- \\n : repeat 'next' command
23-");
24+ printf("\n\
25+tdbtool: \n\
26+ create dbname : create a database\n\
27+ open dbname : open an existing database\n\
28+ erase : erase the database\n\
29+ dump dumpname : dump the database as strings\n\
30+ insert key data : insert a record\n\
31+ store key data : store a record (replace)\n\
32+ show key : show a record by key\n\
33+ delete key : delete a record by key\n\
34+ list : print the database hash table and freelist\n\
35+ free : print the database freelist\n\
36+ 1 | first : print the first record\n\
37+ n | next : print the next record\n\
38+ q | quit : terminate\n\
39+ \\n : repeat 'next' command\n");
40 }
41
42 static void terror(char *why)
This page took 0.106427 seconds and 4 git commands to generate.