From 355134df87ef6395f502fbc430a5fb54529c13e6 Mon Sep 17 00:00:00 2001 From: "Juergen \"George\" Sawinski" Date: Sat, 10 Apr 2004 18:45:46 +0000 Subject: [PATCH] Juergen Sawinski: clifford/tdb: gcc-33 compile fix (multi-line strings) [X] COMPILES (w/ gcc-33) [2004032803001609719] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2703 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- .../clifford/tdb/multi-line-string-fix.patch | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 package/clifford/tdb/multi-line-string-fix.patch diff --git a/package/clifford/tdb/multi-line-string-fix.patch b/package/clifford/tdb/multi-line-string-fix.patch new file mode 100644 index 000000000..4f82c19ba --- /dev/null +++ b/package/clifford/tdb/multi-line-string-fix.patch @@ -0,0 +1,42 @@ +--- tdb-1.0.6/tdbtool.c.orig 2004-03-27 23:55:22.000000000 +0100 ++++ tdb-1.0.6/tdbtool.c 2004-03-27 23:56:48.000000000 +0100 +@@ -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)