svn commit: r1930387 - subversion/branches/utf8-cmdline-prototype/subversion/svnlook

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <176529731313.2764690.15237401662153959080@svn02-us-east.apache.org>
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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.