You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2010/06/30 13:36:53 UTC
svn commit: r959273 - /subversion/trunk/subversion/libsvn_wc/util.c
Author: rhuijben
Date: Wed Jun 30 11:36:53 2010
New Revision: 959273
URL: http://svn.apache.org/viewvc?rev=959273&view=rev
Log:
* subversion/libsvn_wc/util.c
(svn_wc__ensure_directory): We should never user error code 0 in
svn_error_t * as some of our code passes errors by (also) converting
them to their apr_status to show their apr based caller that we
have an error.
Modified:
subversion/trunk/subversion/libsvn_wc/util.c
Modified: subversion/trunk/subversion/libsvn_wc/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/util.c?rev=959273&r1=959272&r2=959273&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/util.c (original)
+++ subversion/trunk/subversion/libsvn_wc/util.c Wed Jun 30 11:36:53 2010
@@ -85,7 +85,7 @@ svn_wc__ensure_directory(const char *pat
if (shorter[0] == '\0')
{
/* A weird and probably rare situation. */
- return svn_error_create(0, NULL,
+ return svn_error_create(APR_EGENERAL, NULL,
_("Unable to make any directories"));
}
else /* We have a valid path, so recursively ensure it. */