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

Re: svn commit: r17419 - in branches/ebcdic/trunk/subversion: svnlook

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-12-09 02:28:06 CET

pburba@tigris.org writes:

> Author: pburba
> Date: Thu Nov 17 09:57:01 2005
> New Revision: 17419
>
> Modified:
> branches/ebcdic/trunk/subversion/svnadmin/main.c
> branches/ebcdic/trunk/subversion/svnlook/main.c
>
> Log:
> Misc fixes on svnadmin and svnlook port for OS/400.
>
> * subversion/svnadmin/main.c
> (main): Convert opt_arg to utf-8 before calling svn_opt_parse_revision.
>
> * subversion/svnlook/main.c
> (main): Fixed several cases where SVN_CMDLINE_FPRINTF wrote utf-8 to stderr.
> Used SVN_CMDLINE_FPRINTF2 or svn_cmdline_fprintf as appropriateto ensure
> ebcdic output.
>
> Modified: branches/ebcdic/trunk/subversion/svnadmin/main.c
> Url: http://svn.collab.net/viewcvs/svn/branches/ebcdic/trunk/subversion/svnadmin/main.c?rev=17419&p1=branches/ebcdic/trunk/subversion/svnadmin/main.c&p2=branches/ebcdic/trunk/subversion/svnadmin/main.c&r1=17418&r2=17419
> ==============================================================================
> --- branches/ebcdic/trunk/subversion/svnadmin/main.c (original)
> +++ branches/ebcdic/trunk/subversion/svnadmin/main.c Thu Nov 17 09:57:01 2005
> @@ -1249,13 +1249,12 @@
> "try '-r M:N' instead of '-r M -r N'"));
> return svn_cmdline_handle_exit_error (err, pool, "svnadmin: ");
> }
> - if (svn_opt_parse_revision (&(opt_state.start_revision),
> + err = svn_utf_cstring_to_utf8 (&utf8_opt_arg, opt_arg, pool);
> + if (err ||
> + svn_opt_parse_revision (&(opt_state.start_revision),
> &(opt_state.end_revision),
> - opt_arg, pool) != 0)
> + utf8_opt_arg, pool) != 0)
> {
> - err = svn_utf_cstring_to_utf8 (&utf8_opt_arg, opt_arg,
> - pool);
> -
> if (! err)
> err = svn_error_createf
> (SVN_ERR_CL_ARG_PARSING_ERROR, NULL,

That bit looks like something we should have on the trunk.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 9 02:28:48 2005

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