subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r959273 - /subversion/trunk/subversion/libsvn_wc/util.c
Date Wed, 30 Jun 2010 11:36:53 GMT
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. */



Mime
View raw message