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.

48 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/rene/subversion/hotfix_r9293.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. diff -pruN subversion-1.0.2_orig/subversion/libsvn_ra_svn/marshal.c subversion-1.0.2/subversion/libsvn_ra_svn/marshal.c
  20. --- subversion-1.0.2_orig/subversion/libsvn_ra_svn/marshal.c 2004-05-13 11:03:26.000000000 +0200
  21. +++ subversion-1.0.2/subversion/libsvn_ra_svn/marshal.c 2004-05-13 11:04:08.000000000 +0200
  22. @@ -731,10 +731,6 @@ svn_error_t *svn_ra_svn_read_cmd_respons
  23. "Malformed error list");
  24. SVN_ERR(svn_ra_svn_parse_tuple(elt->u.list, pool, "nccn", &apr_err,
  25. &message, &file, &line));
  26. - /* The message field should have been optional, but we can't
  27. - easily change that, so "" means a nonexistent message. */
  28. - if (!*message)
  29. - message = NULL;
  30. err = svn_error_create(apr_err, err, message);
  31. err->file = apr_pstrdup(err->pool, file);
  32. err->line = line;
  33. @@ -835,12 +831,10 @@ svn_error_t *svn_ra_svn_write_cmd_failur
  34. SVN_ERR(svn_ra_svn_start_list(conn, pool));
  35. for (; err; err = err->child)
  36. {
  37. - /* The message string should have been optional, but we can't
  38. - easily change that, so marshal nonexistent messages as "". */
  39. SVN_ERR(svn_ra_svn_write_tuple(conn, pool, "nccn",
  40. (apr_uint64_t) err->apr_err,
  41. - err->message ? err->message : "",
  42. - err->file, (apr_uint64_t) err->line));
  43. + err->message, err->file,
  44. + (apr_uint64_t) err->line));
  45. }
  46. SVN_ERR(svn_ra_svn_end_list(conn, pool));
  47. SVN_ERR(svn_ra_svn_end_list(conn, pool));