svn commit: r1932744 - subversion/trunk/build/generator

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <177514757684.2225475.6094873530182649975@svn03-he-fi>
Author: jun66j5
Date: Thu Apr  2 16:32:56 2026
New Revision: 1932744

Log:
Follow-up to r1931402, fix a warning while running gen-make.py on Windows.

* build/generator/gen_base.py
  (IncludeDependencyInfo._scan_for_includes):
    Convert the path to a native path before comparing it with include_param.

Modified:
   subversion/trunk/build/generator/gen_base.py

Modified: subversion/trunk/build/generator/gen_base.py
==============================================================================
--- subversion/trunk/build/generator/gen_base.py	Thu Apr  2 16:16:28 2026	(r1932743)
+++ subversion/trunk/build/generator/gen_base.py	Thu Apr  2 16:32:56 2026	(r1932744)
@@ -1289,7 +1289,7 @@ class IncludeDependencyInfo:
            and 'config_keys.inc' == include_param:
         continue # generated by GeneratorBase.write_config_keys
       if os.sep.join(['tests', 'libsvn_subr', 'adler32-test.c']) in fname \
-           and '../../libsvn_subr/adler32.c' == include_param:
+           and native_path('../../libsvn_subr/adler32.c') == include_param:
         continue # adler32-test.c inludes the source file on purpose
       elif direct_possibility_fname in domain_fnames:
         self._upd_dep_hash(hdrs, direct_possibility_fname, type_code)
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.