You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2010/05/06 18:27:27 UTC

svn commit: r941793 - /subversion/trunk/subversion/libsvn_wc/util.c

Author: hwright
Date: Thu May  6 16:27:27 2010
New Revision: 941793

URL: http://svn.apache.org/viewvc?rev=941793&view=rev
Log:
* subversion/libsvn_wc/util.c
  (svn_wc__status2_from_3): Fix a pointer error, and one of the failures in the 
    python tests.

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=941793&r1=941792&r2=941793&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/util.c (original)
+++ subversion/trunk/subversion/libsvn_wc/util.c Thu May  6 16:27:27 2010
@@ -562,7 +562,7 @@ svn_wc__status2_from_3(svn_wc_status2_t 
       return SVN_NO_ERROR;
     }
 
-  status = apr_pcalloc(result_pool, sizeof(*status));
+  *status = apr_pcalloc(result_pool, sizeof(**status));
 
   SVN_ERR(svn_wc__get_entry(&entry, wc_ctx->db, local_abspath, TRUE,
                             svn_node_unknown, FALSE, result_pool,



Re: svn commit: r941793 - /subversion/trunk/subversion/libsvn_wc/util.c

Posted by Daniel Näslund <da...@longitudo.com>.
On Thu, May 06, 2010 at 04:27:27PM -0000, hwright@apache.org wrote:
> Author: hwright
> Date: Thu May  6 16:27:27 2010
> New Revision: 941793
> 
> URL: http://svn.apache.org/viewvc?rev=941793&view=rev
> Log:
> * subversion/libsvn_wc/util.c
>   (svn_wc__status2_from_3): Fix a pointer error, and one of the failures in the 
>     python tests.
> 
> 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=941793&r1=941792&r2=941793&view=diff
> ==============================================================================
> --- subversion/trunk/subversion/libsvn_wc/util.c (original)
> +++ subversion/trunk/subversion/libsvn_wc/util.c Thu May  6 16:27:27 2010
> @@ -562,7 +562,7 @@ svn_wc__status2_from_3(svn_wc_status2_t 
>        return SVN_NO_ERROR;
>      }
>  
> -  status = apr_pcalloc(result_pool, sizeof(*status));
> +  *status = apr_pcalloc(result_pool, sizeof(**status));
>  
>    SVN_ERR(svn_wc__get_entry(&entry, wc_ctx->db, local_abspath, TRUE,
>                              svn_node_unknown, FALSE, result_pool,

Thanks for fixing this!
Daniel