mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-29 12:15:39 +00:00
dup and dup2 of a Windows directory descriptor threw. FreeBSD's kern_dup makes both descriptors refer to one open file, so they share the read position; the duplicate now points at the same DirectoryState, which getdents and lseek go through, and keeps it after the original is closed. Co-Authored-By: Claude Opus 5.5 <[email protected]>