subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1231166 - /subversion/trunk/subversion/mod_dav_svn/util.c
Date Fri, 13 Jan 2012 16:41:13 GMT
Author: philip
Date: Fri Jan 13 16:41:13 2012
New Revision: 1231166

URL: http://svn.apache.org/viewvc?rev=1231166&view=rev
Log:
* subversion/mod_dav_svn/util.c (dav_svn__new_error): Clear errno.

Modified:
    subversion/trunk/subversion/mod_dav_svn/util.c

Modified: subversion/trunk/subversion/mod_dav_svn/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_dav_svn/util.c?rev=1231166&r1=1231165&r2=1231166&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_dav_svn/util.c (original)
+++ subversion/trunk/subversion/mod_dav_svn/util.c Fri Jan 13 16:41:13 2012
@@ -56,6 +56,9 @@ dav_svn__new_error(apr_pool_t *pool,
   /* old code assumed errno was valid; keep assuming */
   return dav_new_error(pool, status, error_id, errno, desc);
 #else
+
+  errno = 0; /* For the same reason as in dav_svn__new_error_tag */
+
   return dav_new_error(pool, status, error_id, desc);
 #endif
 }



Mime
View raw message