upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/shims/process.cpp
diff options
context:
space:
mode:
authorAAyberkU <97833630+AAyberkU@users.noreply.github.com>2026-11-23 01:54:38 +0300
committerAAyberkU <97833630+AAyberkU@users.noreply.github.com>2026-11-23 01:54:38 +0300
commite48df32d1282d9d9bac4199752614b3024219bf9 (patch)
tree894fab81d5ce7f694038f7074c907a758cceaec0 /runtime/shims/process.cpp
parentaa2988cc555bad7ecd508b48a702adbb32fe7c95 (diff)
bink_play: the name cache is keyed by the mount source too
bink_play.py kept the name table keyed by the archive's stamp alone, so a run with a different --mount (another mount-list XML, or a changed common.rpf) was served the names of the previous mount source from the cache. The key now holds the mount file's stamp (path, size, mtime) as well. A table written in the old format has a header that no longer matches, so it is rebuilt, not misread. tests/test_bink_play.py names the streams from old.xml, then from new.xml, with hand-built inputs and a stubbed bink_names, and checks the second run is not served from the cache; it also checks that an old-format table is treated as a miss. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/process.cpp')
0 files changed, 0 insertions, 0 deletions