upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/loader_test.cpp
diff options
context:
space:
mode:
authorbbareth <179921368+BBareth@users.noreply.github.com>2026-11-22 02:01:19 +0100
committerbbareth <179921368+BBareth@users.noreply.github.com>2026-11-22 02:01:19 +0100
commit8423530e5f3e0a9e6d5cb2d00d18018024e86c57 (patch)
tree4eabfe42e253a6c068264fee6dd1576dd780e19f /runtime/test/loader_test.cpp
parent91b36cf86cb92a95836eed8af73abc0671a61e31 (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 'runtime/test/loader_test.cpp')
0 files changed, 0 insertions, 0 deletions