subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1872388 - /subversion/trunk/subversion/tests/libsvn_subr/mergeinfo-test.c
Date Mon, 06 Jan 2020 17:02:41 GMT
Author: julianfoad
Date: Mon Jan  6 17:02:41 2020
New Revision: 1872388

URL: http://svn.apache.org/viewvc?rev=1872388&view=rev
Log:
Fix a test crash in non-debug builds.

A follow-up to r1872121.

Found by: nathanhartman

subversion/tests/libsvn_subr/mergeinfo-test.c
  (rangelist_to_string): Properly skip error trace links.

Modified:
    subversion/trunk/subversion/tests/libsvn_subr/mergeinfo-test.c

Modified: subversion/trunk/subversion/tests/libsvn_subr/mergeinfo-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/mergeinfo-test.c?rev=1872388&r1=1872387&r2=1872388&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/mergeinfo-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/mergeinfo-test.c Mon Jan  6 17:02:41 2020
@@ -1993,7 +1993,7 @@ rangelist_to_string(const svn_rangelist_
     {
       const char *s
         = apr_psprintf(pool, "<rangelist[%d ranges]: %s>",
-                       rl->nelts, err->child->message);
+                       rl->nelts, svn_error_purge_tracing(err)->message);
       svn_error_clear(err);
       return s;
     }



Mime
View raw message