Author: rinrab
Date: Mon Jun 9 12:56:02 2025
New Revision: 1926284
URL: http://svn.apache.org/viewvc?rev=1926284&view=rev
Log:
On the 'utf8-cmdline-prototype' branch: Following up to r1925836: duplicate
string to dash_F_arg.
* subversion/svn/svn.c
(sub_main::-F): Ditto.
Modified:
subversion/branches/utf8-cmdline-prototype/subversion/svn/svn.c
Modified: subversion/branches/utf8-cmdline-prototype/subversion/svn/svn.c
URL:
http://svn.apache.org/viewvc/subversion/branches/utf8-cmdline-prototype/subversion/svn/svn.c?rev=1926284&r1=1926283&r2=1926284&view=diff
==============================================================================
--- subversion/branches/utf8-cmdline-prototype/subversion/svn/svn.c (original)
+++ subversion/branches/utf8-cmdline-prototype/subversion/svn/svn.c Mon Jun 9
12:56:02 2025
@@ -2390,7 +2390,7 @@ sub_main(int *exit_code,
SVN_ERR(svn_stringbuf_from_file2(&(opt_state.filedata),
utf8_opt_arg, pool));
reading_file_from_stdin = (strcmp(utf8_opt_arg, "-") == 0);
- dash_F_arg = utf8_opt_arg;
+ dash_F_arg = apr_pstrdup(pool, utf8_opt_arg);
break;
case opt_targets:
{