You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2012/08/03 21:56:36 UTC

svn commit: r1369187 - /subversion/trunk/subversion/libsvn_subr/debug.c

Author: julianfoad
Date: Fri Aug  3 19:56:36 2012
New Revision: 1369187

URL: http://svn.apache.org/viewvc?rev=1369187&view=rev
Log:
Tweak the SVN_DBG_PROPS macro to print the caller's file and line info
on every line, rather than printing the caller's info on the header line and
this function's file and line info on the subsequent lines.

* subversion/libsvn_subr/debug.c
  (svn_dbg__print_props): Use svn_dbg__printf() instead of SVN_DBG().

Modified:
    subversion/trunk/subversion/libsvn_subr/debug.c

Modified: subversion/trunk/subversion/libsvn_subr/debug.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/debug.c?rev=1369187&r1=1369186&r2=1369187&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/debug.c (original)
+++ subversion/trunk/subversion/libsvn_subr/debug.c Fri Aug  3 19:56:36 2012
@@ -135,7 +135,7 @@ svn_dbg__print_props(apr_hash_t *props,
 
   if (props == NULL)
     {
-      SVN_DBG(("    (null)\n"));
+      svn_dbg__printf("    (null)\n");
       return;
     }
 
@@ -145,7 +145,7 @@ svn_dbg__print_props(apr_hash_t *props,
       const char *name = svn__apr_hash_index_key(hi);
       svn_string_t *val = svn__apr_hash_index_val(hi);
 
-      SVN_DBG(("    '%s' -> '%s'\n", name, val->data));
+      svn_dbg__printf("    '%s' -> '%s'\n", name, val->data);
     }
 #endif /* SVN_DEBUG */
 }