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 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| DescriptorControl.hpp | ||
| DirectoryDescriptor.hpp | ||
| File.hpp | ||
| FileFlags.hpp | ||
| FileLock.hpp | ||
| KernelStatfs.hpp | ||
| NativeStat.hpp | ||
| RandomDevice.hpp | ||
| SharedMemory.hpp | ||
| WindowsFileTime.hpp | ||