OpenSDE Packages Database (without history before r20070)
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.

57 lines
2.3 KiB

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