svn commit: r1926019 - /subversion/branches/utf8-cmdline-prototype/subversion/libsvn_client/cmdline.c

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: rinrab
Date: Sat May 31 20:04:36 2025
New Revision: 1926019

URL: http://svn.apache.org/viewvc?rev=1926019&view=rev
Log:
On the 'utf8-cmdline-prototype' branch:

* subversion/libsvn_client/cmdline.c
  (svn_client__process_target_array): Initialize targets_p out array
   properly.

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

Modified: subversion/branches/utf8-cmdline-prototype/subversion/libsvn_client/cmdline.c
URL: http://svn.apache.org/viewvc/subversion/branches/utf8-cmdline-prototype/subversion/libsvn_client/cmdline.c?rev=1926019&r1=1926018&r2=1926019&view=diff
==============================================================================
--- subversion/branches/utf8-cmdline-prototype/subversion/libsvn_client/cmdline.c (original)
+++ subversion/branches/utf8-cmdline-prototype/subversion/libsvn_client/cmdline.c Sat May 31 20:04:36 2025
@@ -309,6 +309,9 @@ svn_client__process_target_array(apr_arr
         }
     }
 
+  *targets_p = apr_array_make(pool, parsed_targets->nelts,
+                              sizeof(const char *));
+
   SVN_ERR(svn_opt__target_array_to_string(targets_p, parsed_targets, pool));
 
   if (reserved_names)
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.