subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1797190 - /subversion/trunk/subversion/svnmucc/svnmucc.c
Date Thu, 01 Jun 2017 11:11:46 GMT
Author: julianfoad
Date: Thu Jun  1 11:11:46 2017
New Revision: 1797190

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

Modified:
    subversion/trunk/subversion/svnmucc/svnmucc.c

Modified: subversion/trunk/subversion/svnmucc/svnmucc.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnmucc/svnmucc.c?rev=1797190&r1=1797189&r2=1797190&view=diff
==============================================================================
--- subversion/trunk/subversion/svnmucc/svnmucc.c (original)
+++ subversion/trunk/subversion/svnmucc/svnmucc.c Thu Jun  1 11:11:46 2017
@@ -561,9 +561,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