mirror of
https://gitea.tendokyu.moe/beerpsi/fsdecrypt.git
synced 2026-09-30 02:38:01 +03:00
When a file or directory has a separate 8.3 short name, it appears in the NTFS directory index twice: once under its Win32 long name and once under the Dos short name. The extractor iterated all index entries, so every such item was written a second time under its mangled NAME~1.EXT alias — and short-named directories had their entire subtree re-extracted. Skip index entries in the Dos namespace (the file is still extracted via its Win32 entry). Add unit tests for the skip decision. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>