Author: rinrab
Date: Tue Dec  9 16:21:52 2025
New Revision: 1930387

Log:
On the 'utf8-cmdline-prototype' branch: Fix stupid bug by calling function
properly.

* subversion/svnlook/svnlook.c
  (sub_main): Take reference of out parameter opt_state.diff_cmd when
  converting it back to the local encoding from UTF-8.

I don't know why it was't causing any crashes...

Modified:
   subversion/branches/utf8-cmdline-prototype/subversion/svnlook/svnlook.c

Modified: 
subversion/branches/utf8-cmdline-prototype/subversion/svnlook/svnlook.c
==============================================================================
--- subversion/branches/utf8-cmdline-prototype/subversion/svnlook/svnlook.c     
Tue Dec  9 16:12:39 2025        (r1930386)
+++ subversion/branches/utf8-cmdline-prototype/subversion/svnlook/svnlook.c     
Tue Dec  9 16:21:52 2025        (r1930387)
@@ -2626,7 +2626,7 @@ sub_main(int *exit_code,
           break;
 
         case svnlook__diff_cmd:
-          SVN_ERR(svn_utf_cstring_from_utf8(opt_state.diff_cmd, utf8_opt_arg,
+          SVN_ERR(svn_utf_cstring_from_utf8(&opt_state.diff_cmd, utf8_opt_arg,
                                             pool));
           break;
 

Reply via email to