subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1797352 - /subversion/trunk/tools/dev/svnmover/svnmover.c
Date Fri, 02 Jun 2017 09:43:24 GMT
Author: julianfoad
Date: Fri Jun  2 09:43:24 2017
New Revision: 1797352

URL: http://svn.apache.org/viewvc?rev=1797352&view=rev
Log:
* tools/dev/svnmover/svnmover.c (sub_main):
    Fix missing UTF-8 conversion of the '-F' filename argument.

Modified:
    subversion/trunk/tools/dev/svnmover/svnmover.c

Modified: subversion/trunk/tools/dev/svnmover/svnmover.c
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dev/svnmover/svnmover.c?rev=1797352&r1=1797351&r2=1797352&view=diff
==============================================================================
--- subversion/trunk/tools/dev/svnmover/svnmover.c (original)
+++ subversion/trunk/tools/dev/svnmover/svnmover.c Fri Jun  2 09:43:24 2017
@@ -4419,9 +4419,9 @@ sub_main(int *exit_code, int argc, const
           break;
         case 'F':
           {
-            const char *arg_utf8;
-            SVN_ERR(svn_utf_cstring_to_utf8(&arg_utf8, arg, pool));
-            SVN_ERR(svn_stringbuf_from_file2(&filedata, arg, pool));
+            const char *filename;
+            SVN_ERR(svn_utf_cstring_to_utf8(&filename, arg, pool));
+            SVN_ERR(svn_stringbuf_from_file2(&filedata, filename, pool));
           }
           break;
         case 'u':



Mime
View raw message