All pastes #28182 Raw Edit

Mine

public text v1 · immutable
#28182 ·published 2005-11-09 23:20 UTC
rendered paste body
Index: subversion/tests/libsvn_wc/translate-test.c
===================================================================
--- subversion/tests/libsvn_wc/translate-test.c (revision 17276)
+++ subversion/tests/libsvn_wc/translate-test.c (working copy)
@@ -944,6 +944,7 @@
                  svn_test_opts_t *opts,
                  apr_pool_t *pool)
 {
+  apr_pool_t subpool = svn_pool_create (pool);
   *msg = "keep mixed line endings without repair flag";
  
   if (msg_only)
@@ -951,12 +952,16 @@
  
   SVN_ERR (substitute_and_verify
            ("mixed_no_repair", NULL, "\n", 0,
-            NULL, NULL, NULL, NULL, 1, pool));
+            NULL, NULL, NULL, NULL, 1, subpool));
  
+  svn_pool_clear (subpool);
+
   SVN_ERR (substitute_and_verify
            ("mixed_no_repair", NULL, "\r\n", 0,
-            NULL, NULL, NULL, NULL, 1, pool));
+            NULL, NULL, NULL, NULL, 1, subpool));
  
+  svn_pool_destroy (subpool);
+
   return SVN_NO_ERROR;
 }