svn commit: r1930411 - in subversion/branches/1.14.x: . subversion/libsvn_subr

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <176533920626.3082868.4555712804830234117@svn02-us-east.apache.org>
Author: svn-role
Date: Wed Dec 10 04:00:05 2025
New Revision: 1930411

Log:
Merge r1930381 from trunk:

 * r1930381
   Fix wrong line numbers displayed in syntax errors from config file parser.
   Justification:
     Cosmetic issue which can confuse users in case of syntax errors.
   Votes:
     +1: stsp, brane, dsahlberg

Modified:
   subversion/branches/1.14.x/   (props changed)
   subversion/branches/1.14.x/STATUS
   subversion/branches/1.14.x/subversion/libsvn_subr/config_file.c

Modified: subversion/branches/1.14.x/STATUS
==============================================================================
--- subversion/branches/1.14.x/STATUS	Wed Dec 10 02:45:37 2025	(r1930410)
+++ subversion/branches/1.14.x/STATUS	Wed Dec 10 04:00:05 2025	(r1930411)
@@ -56,11 +56,3 @@ Veto-blocked changes:
 
 Approved changes:
 =================
-
- * r1930381
-   Fix wrong line numbers displayed in syntax errors from config file parser.
-   Justification:
-     Cosmetic issue which can confuse users in case of syntax errors.
-   Votes:
-     +1: stsp, brane, dsahlberg
-

Modified: subversion/branches/1.14.x/subversion/libsvn_subr/config_file.c
==============================================================================
--- subversion/branches/1.14.x/subversion/libsvn_subr/config_file.c	Wed Dec 10 02:45:37 2025	(r1930410)
+++ subversion/branches/1.14.x/subversion/libsvn_subr/config_file.c	Wed Dec 10 04:00:05 2025	(r1930411)
@@ -807,6 +807,7 @@ svn_config__parse_stream(svn_stream_t *s
           SVN_ERR(open_section(ctx, &stop));
           if (stop)
             return SVN_NO_ERROR;
+          ++(ctx->line);
           break;
 
         case '#':               /* Comment */
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.