upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/gameinput_test.cpp
diff options
context:
space:
mode:
authorbbareth <179921368+BBareth@users.noreply.github.com>2026-11-22 01:49:58 +0100
committerbbareth <179921368+BBareth@users.noreply.github.com>2026-11-22 01:49:58 +0100
commiteafa5731d3129dca4a3f14a9e777cbaa5d0e3768 (patch)
tree17388ef621464088e0c4f51e3522b8141fbd7ca4 /runtime/test/gameinput_test.cpp
parent91b36cf86cb92a95836eed8af73abc0671a61e31 (diff)
world_census.py: --limit 0 is an empty range, and a bad archive path is one line
`end = min(size, start + a.limit) if a.limit else size` treated --limit 0 as no limit, so asking for zero bytes scanned the whole archive (a full census of a multi-GiB archive) and wrote its outputs. It is now an empty range and refused as "bad scan range", like --limit -1. A missing archive, or a folder given as one, ended in a FileNotFoundError / IsADirectoryError traceback; it is now one line naming the path, exit 2, before --out is created. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions