]> git.pld-linux.org Git - packages/tdb.git/commitdiff
- build fix for gcc 3.3
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 28 Jul 2003 09:27:36 +0000 (09:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tdb-gcc33.patch -> 1.1

tdb-gcc33.patch [new file with mode: 0644]

diff --git a/tdb-gcc33.patch b/tdb-gcc33.patch
new file mode 100644 (file)
index 0000000..74ff22c
--- /dev/null
@@ -0,0 +1,42 @@
+--- 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)
This page took 0.038493 seconds and 4 git commands to generate.