AnyPS5/core/libs/prx/libkernel/File/include
LeandroLP23 d3011ae113 fix(libkernel): share the directory state between duplicated descriptors on Windows
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>
2026-10-12 21:01:33 +02:00
..
DescriptorControl.hpp fix(libkernel): read the fcntl argument by command 2026-10-12 12:17:26 +05:30
DirectoryDescriptor.hpp fix(libkernel): share the directory state between duplicated descriptors on Windows 2026-10-12 21:01:33 +02:00
File.hpp fix(libkernel): keep sceKernelDebugOutText off a redirected guest stderr 2026-10-12 17:53:41 +03:00
FileFlags.hpp fix(libkernel): fail open with O_NOFOLLOW on a symbolic link 2026-10-11 21:30:23 +00:00
FileLock.hpp fix(libkernel): give flock BSD semantics on Windows 2026-10-10 06:49:20 +02:00
KernelStatfs.hpp feat(libc): implement guest fstatvfs volume statistics 2026-10-11 15:57:20 +02:00
NativeStat.hpp feat(libkernel): implement lstat 2026-10-09 17:30:43 -04:00
RandomDevice.hpp fix(libkernel): maintain random device and file lock invariants in dup and dup2 2026-10-10 15:54:21 +04:00
SharedMemory.hpp fix(libkernel): preserve patched loading and shared-memory object identity 2026-10-11 23:40:46 +02:00
WindowsFileTime.hpp fix(libkernel): preserve Windows file timestamp precision 2026-10-10 01:51:56 +02:00