mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
2.5 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/clifford/tdb/multi-line-string-fix.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- tdb-1.0.6/tdbtool.c.orig 2004-03-27 23:55:22.000000000 +0100
  20. +++ tdb-1.0.6/tdbtool.c 2004-03-27 23:56:48.000000000 +0100
  21. @@ -169,23 +169,22 @@
  22. static void help(void)
  23. {
  24. - printf("
  25. -tdbtool:
  26. - create dbname : create a database
  27. - open dbname : open an existing database
  28. - erase : erase the database
  29. - dump dumpname : dump the database as strings
  30. - insert key data : insert a record
  31. - store key data : store a record (replace)
  32. - show key : show a record by key
  33. - delete key : delete a record by key
  34. - list : print the database hash table and freelist
  35. - free : print the database freelist
  36. - 1 | first : print the first record
  37. - n | next : print the next record
  38. - q | quit : terminate
  39. - \\n : repeat 'next' command
  40. -");
  41. + printf("\n"
  42. +"tdbtool: \n"
  43. +" create dbname : create a database\n"
  44. +" open dbname : open an existing database\n"
  45. +" erase : erase the database\n"
  46. +" dump dumpname : dump the database as strings\n"
  47. +" insert key data : insert a record\n"
  48. +" store key data : store a record (replace)\n"
  49. +" show key : show a record by key\n"
  50. +" delete key : delete a record by key\n"
  51. +" list : print the database hash table and freelist\n"
  52. +" free : print the database freelist\n"
  53. +" 1 | first : print the first record\n"
  54. +" n | next : print the next record\n"
  55. +" q | quit : terminate\n"
  56. +" \\n : repeat 'next' command\n");
  57. }
  58. static void terror(char *why)