AnyPS5/core/libs/prx/libkernel/Apr
Santhosh Kumar 6b38cdda8c fix(libkernel): report the target size of symbolic links on Windows
_wstat64, the FindFirstFileExW listing and std::filesystem::file_size
report the size of a file symbolic link itself (0). stat therefore gave
0 for linked files, and APR resolved them as empty, so Unity treated a
linked globalgamemanagers as empty and never read it.

stat takes the size from the handle it already opens, which follows the
link. The APR listing skips reparse points, and names missing from it
are sized through stat.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 13:48:56 +05:30
..
include fix(apr): compact gather records to avoid command buffer exhaustion 2026-10-11 07:27:52 +02:00
src fix(libkernel): report the target size of symbolic links on Windows 2026-10-12 13:48:56 +05:30