diff options
| author | bobcatchris <83428450+bobcatchris@users.noreply.github.com> | 2026-11-22 18:31:55 -0600 |
|---|---|---|
| committer | bobcatchris <83428450+bobcatchris@users.noreply.github.com> | 2026-11-22 18:31:55 -0600 |
| commit | df4dca098087169e6b66d7a95ab959ea902fa90f (patch) | |
| tree | b60e2451869019e6972556e4b0801bededb4b5d3 /runtime/src/pe_loader.cpp | |
| parent | aa2988cc555bad7ecd508b48a702adbb32fe7c95 (diff) | |
gamedata_xml: a folder that cannot be listed fails the scan
xml_files walked a directory of XML documents with os.walk and no onerror, so
an unlistable sub-folder was silently skipped: the scan printed its summary and
exited 0 with fewer documents, and the report-collision check could not see
those files either. Raise the listing error; main already prints one
`ERROR: cannot read ...` line and exits 2 for an OSError.
The new test on main's tool fails (os.walk receives no onerror); with the fix,
tests/test_gamedata_xml.py runs 12 tests, OK. CPU only, synthetic XML, no game
files.
AI-assisted.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions