diff options
| author | bbareth <179921368+BBareth@users.noreply.github.com> | 2026-11-22 02:01:19 +0100 |
|---|---|---|
| committer | bbareth <179921368+BBareth@users.noreply.github.com> | 2026-11-22 02:01:19 +0100 |
| commit | 8423530e5f3e0a9e6d5cb2d00d18018024e86c57 (patch) | |
| tree | 4eabfe42e253a6c068264fee6dd1576dd780e19f /docs/d3d12_command_objects.md | |
| parent | 91b36cf86cb92a95836eed8af73abc0671a61e31 (diff) | |
world_index.py: --limit 0 is not "no limit", and the scan window is checked
scan_rpf() used `min(size, pos + limit) if limit else size`, so
--limit 0 scanned the whole archive. --start and --limit were plain
ints: a negative --limit gave an end before the start (an empty scan
reported as a normal run), a negative --start searched from the top of
the file, and a --start inside the RPF9 header or past the end was used
as given. --start must now be 0 or more and --limit at least 1
(argparse errors), and a --start outside an archive's data area is one
line and exit 2, before any report is written.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/d3d12_command_objects.md')
0 files changed, 0 insertions, 0 deletions