subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject svn commit: r932209 - /subversion/trunk/subversion/libsvn_wc/status.c
Date Fri, 09 Apr 2010 00:58:05 GMT
Author: gstein
Date: Fri Apr  9 00:58:05 2010
New Revision: 932209

URL: http://svn.apache.org/viewvc?rev=932209&view=rev
Log:
Add some svn_error_return love.

* subversion/libsvn_wc/status.c:
  (send_status_structure, send_unversioned_item, internal_status): use
    svn_error_return as appropriate.

Modified:
    subversion/trunk/subversion/libsvn_wc/status.c

Modified: subversion/trunk/subversion/libsvn_wc/status.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/status.c?rev=932209&r1=932208&r2=932209&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/status.c (original)
+++ subversion/trunk/subversion/libsvn_wc/status.c Fri Apr  9 00:58:05 2010
@@ -644,7 +644,8 @@ send_status_structure(const struct walk_
                           pool, pool));
 
   if (statstruct && status_func)
-    return status_func(status_baton, local_abspath, statstruct, pool);
+    return svn_error_return((*status_func)(status_baton, local_abspath,
+                                           statstruct, pool));
 
   return SVN_NO_ERROR;
 }
@@ -783,7 +784,8 @@ send_unversioned_item(const struct walk_
   /* If we aren't ignoring it, or if it's an externals path, or it has a lock
      in the repository, pass this entry to the status func. */
   if (no_ignore || (! ignore) || is_external || status->repos_lock)
-    return (status_func)(status_baton, local_abspath, status, pool);
+    return svn_error_return((*status_func)(status_baton, local_abspath, status,
+                                           pool));
 
   return SVN_NO_ERROR;
 }
@@ -2409,9 +2411,13 @@ internal_status(svn_wc_status2_t **statu
         return svn_error_return(err);
     }
 
-  return assemble_status(status, db, local_abspath, entry,
-                         parent_entry, svn_node_unknown, FALSE, /* bogus */
-                         TRUE, FALSE, NULL, NULL, result_pool, scratch_pool);
+  return svn_error_return(assemble_status(status, db, local_abspath, entry,
+                                          parent_entry, svn_node_unknown,
+                                          FALSE /* path_special (bogus) */,
+                                          TRUE /* get_all */,
+                                          FALSE /* is_ignored */,
+                                          NULL, NULL,
+                                          result_pool, scratch_pool));
 }
 
 



Mime
View raw message