You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ko...@apache.org on 2018/11/27 21:07:54 UTC

svn commit: r1847596 - /subversion/trunk/subversion/libsvn_fs_fs/tree.c

Author: kotkov
Date: Tue Nov 27 21:07:54 2018
New Revision: 1847596

URL: http://svn.apache.org/viewvc?rev=1847596&view=rev
Log:
Following up on r1847572, trace the errors constructed with the new helper.

* subversion/libsvn_fs_fs/tree.c
  (open_path): Wrap the err_not_directory() return values with
   svn_error_trace().

Suggested by: brane

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

Modified: subversion/trunk/subversion/libsvn_fs_fs/tree.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/tree.c?rev=1847596&r1=1847595&r2=1847596&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/tree.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/tree.c Tue Nov 27 21:07:54 2018
@@ -1053,7 +1053,7 @@ open_path(parent_path_t **parent_path_p,
                   return SVN_NO_ERROR;
                 }
               else
-                return err_not_directory(root, directory, pool);
+                return svn_error_trace(err_not_directory(root, directory, pool));
             }
         }
     }
@@ -1187,7 +1187,8 @@ open_path(parent_path_t **parent_path_p,
             }
 
           /* It's really a problem ... */
-          return err_not_directory(root, path_so_far->data, iterpool);
+          return svn_error_trace(
+                   err_not_directory(root, path_so_far->data, iterpool));
         }
 
       rest = next;