diff options
| author | syfyra <258908070+syfyra@users.noreply.github.com> | 2026-11-26 10:43:50 +0100 |
|---|---|---|
| committer | syfyra <258908070+syfyra@users.noreply.github.com> | 2026-11-26 10:43:51 +0100 |
| commit | 25d45dcbe0997b13db68632312ea330a9c253110 (patch) | |
| tree | 56717ec33eac06a1eeefb9d9bf0004f04a4427d4 /runtime/test/vk_queue_query_sync_test.cpp | |
| parent | a73a57e1339be072baf5522351c8ec7f1482b56b (diff) | |
text_tables: read a directory source's subfolders in name order (TEXT-TABLES-WALK-ORDER)
blobs() sorted the files of each folder but walked the subfolders in the
order os.walk lists them, which is the file system's: by name on NTFS, by
hash on ext4. The dialogue table keeps the last text read for a label
(docs/text.md, "Labels with two texts"), so the same folder of resources
gave a different text_en, and a different --tables/--strings row order,
on Windows and Linux. Sort the subfolders in place so the walk descends
in name order everywhere.
Tested: new test_subfolders_are_read_in_name_order with a walk that lists
subfolders backwards; it fails before the fix (b before a, the first
table's text wins) and passes after.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions