svn commit: r1932160 - subversion/trunk/subversion/libsvn_diff

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <177264175423.3853748.5168990135165130711@svn02-us-east.apache.org>
Author: rinrab
Date: Wed Mar  4 16:29:13 2026
New Revision: 1932160

Log:
Propagate constantness in parse-diff.c:git_start.

* subversion/libsvn_diff/parse-diff.c
  (git_start): Undo const in old_path_start, new_path_start, and
   old_path_marker.

Modified:
   subversion/trunk/subversion/libsvn_diff/parse-diff.c

Modified: subversion/trunk/subversion/libsvn_diff/parse-diff.c
==============================================================================
--- subversion/trunk/subversion/libsvn_diff/parse-diff.c	Wed Mar  4 16:24:20 2026	(r1932159)
+++ subversion/trunk/subversion/libsvn_diff/parse-diff.c	Wed Mar  4 16:29:13 2026	(r1932160)
@@ -1545,12 +1545,12 @@ static svn_error_t *
 git_start(enum parse_state *new_state, char *line, svn_patch_t *patch,
           apr_pool_t *result_pool, apr_pool_t *scratch_pool)
 {
-  const char *old_path_start;
+  char *old_path_start;
   char *old_path_end;
-  const char *new_path_start;
+  char *new_path_start;
   const char *new_path_end;
   char *new_path_marker;
-  const char *old_path_marker;
+  char *old_path_marker;
 
   /* ### Add handling of escaped paths
    * http://www.kernel.org/pub/software/scm/git/docs/git-diff.html:
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.