subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1394345 - /subversion/trunk/subversion/libsvn_fs_fs/caching.c
Date Fri, 05 Oct 2012 01:54:12 GMT
Author: stefan2
Date: Fri Oct  5 01:54:12 2012
New Revision: 1394345

URL: http://svn.apache.org/viewvc?rev=1394345&view=rev
Log:
Since zero-copy code can cause cache functions to actually return
an error (lost connection etc.), we must make sure these get passed
through to the calling functions.

* subversion/libsvn_fs_fs/caching.c
  (warn_on_cache_errors): don't swallow the error, just log it

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/caching.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/caching.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/caching.c?rev=1394345&r1=1394344&r2=1394345&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/caching.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/caching.c Fri Oct  5 01:54:12 2012
@@ -103,8 +103,7 @@ warn_on_cache_errors(svn_error_t *err,
 {
   svn_fs_t *fs = baton;
   (fs->warning)(fs->warning_baton, err);
-  svn_error_clear(err);
-  return SVN_NO_ERROR;
+  return err;
 }
 
 #ifdef SVN_DEBUG_CACHE_DUMP_STATS



Mime
View raw message