Kouhei Sutou wrote:
>Hi,
>
>In <42DB7E16.10700@xbc.nu>
> "Re: svn commit: r15343 - in trunk/subversion: libsvn_subr" on Mon, 18 Jul 2005 12:01:58 +0200,
> Branko Čibej <brane@xbc.nu> wrote:
>
>
>
>>>@@ -87,10 +87,10 @@
>>> apr_err = APR_INCOMPLETE;
>>> if (apr_err)
>>> {
>>>- error = svn_error_create(apr_err, NULL,
>>>- _("Can't convert module path "
>>>- "to UTF-8 from UCS-2: '%s'"),
>>>- ucs2_path);
>>>+ err = svn_error_create(apr_err, NULL,
>>>+ _("Can't convert module path "
>>>+ "to UTF-8 from UCS-2: '%s'"),
>>>+ ucs2_path);
>>>
>>>
>>>
>>>
>>This should be svn_error_createf.
>>Another thing: this file uses the space-before-paren-in-function-call
>>style, which you don't follow consistently. Please fix this.
>>
>>
>
>I see.
>What about the new patch?
>
>
Looks O.K., except for one nit:
>- if (error == SVN_NO_ERROR)
>+ if (err == SVN_NO_ERROR)
>
>
SVN_NO_ERROR is NULL by definition. we usually test this as "if (!err)"
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 19 10:24:13 2005