You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2014/07/24 03:00:29 UTC
svn commit: r1612976 -
/subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c
Author: breser
Date: Thu Jul 24 01:00:29 2014
New Revision: 1612976
URL: http://svn.apache.org/r1612976
Log:
On svn-auth-x509 branch, Add some code to debug Windows temporarily.
* subversion/libsvn_subr/x509parse.c
(x509name_to_utf8_string): Use the string to show an error code.
Modified:
subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c
Modified: subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c
URL: http://svn.apache.org/viewvc/subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c?rev=1612976&r1=1612975&r2=1612976&view=diff
==============================================================================
--- subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c (original)
+++ subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c Thu Jul 24 01:00:29 2014
@@ -671,8 +671,15 @@ x509name_to_utf8_string(const x509_name
result_pool);
if (err)
{
+#ifdef WIN32
+ apr_status_t apr_err = err->apr_err;
+ svn_error_clear(err);
+ return svn_string_create(apr_psprintf(result_pool, "Got an error: %d",
+ apr_err), result_pool);
+#else
svn_error_clear(err);
return fuzzy_escape(src_string, result_pool);
+#endif
}
return utf8_string;