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)

Reply via email to