upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_stacks.cpp
diff options
context:
space:
mode:
authorliang-kai-shui <1677378668@qq.com>2026-11-22 18:44:21 +0800
committerliang-kai-shui <1677378668@qq.com>2026-11-22 18:44:21 +0800
commitddaf648e5d89c62d632547414345ea13ff4eb020 (patch)
tree4b251fafa06fbe2ea59efd4a93622a5090b3fad9 /runtime/src/thread_stacks.cpp
parentf85582e23d4ab9e19acbf694358f137d6b8531b1 (diff)
gamedata_index: report paths create their folder and cannot overwrite the input
--json and --csv opened their target after the scan, so a missing folder ended the run in a FileNotFoundError and lost the result, and a path that resolved to <carve>/index.json (or the target archive) replaced the input with the report. Copy navmesh_decode.py's pattern: _make_parent() before each write, and reject report paths that same_report_path() matches against the target, <target>/index.json and --carve-dir/index.json. New tests/test_gamedata_index_report_paths.py covers both missing-folder writes, both input aliases, the csv/json same-path refusal and a normal report; main's tool fails four of the six as the negative control.
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions