[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r12157 - trunk/subversion/libsvn_subr

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-12-06 01:12:04 CET

John Szakmeister <john@szakmeister.net> writes:

> --- subversion/libsvn_subr/cmdline.c (revision 12158)
> +++ subversion/libsvn_subr/cmdline.c (working copy)
> @@ -199,7 +199,12 @@
> if (!apr_err && (inwords > 0 || outbytes == 0))
> apr_err = APR_INCOMPLETE;
> if (apr_err)
> - goto utf8_error;
> + {
> + utf8_error:
> + if (error_stream)
> + fprintf (error_stream, "Can't convert module path to UTF-8");
> + return EXIT_FAILURE;
> + }
>
> utf8_path[outlength - outbytes] = '\0';
> internal_path = svn_path_internal_style (utf8_path, pool);
> @@ -220,11 +225,6 @@
> #endif
>
> return EXIT_SUCCESS;
> -
> - utf8_error:
> - if (error_stream)
> - fprintf (error_stream, "Can't convert module path to UTF-8");
> - return EXIT_FAILURE;
> }
>
>

Looks OK to me.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 6 01:13:07 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.