AnyPS5/core
Achraf Reyani 3779ffa375 fix(libkernel): accept a trailing slash in sceKernelMkdir
sceKernelMkdir checked that the parent of the resolved path exists, but
for "dir/" std::filesystem::path reports "dir" itself as the parent, so
the call failed with ENOENT and created nothing, while FreeBSD's mkdir
(and the POSIX mkdir export) accept it. Strip trailing separators first,
and report ENOTDIR when the parent exists but is not a directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 5f74ddba8b346e6c552cf02554d47382708206f3)
2026-10-10 16:06:21 +00:00
..
Decoder fix(png): bound transparency chunk detection to the input 2026-10-10 09:28:30 +08:00
libs fix(libkernel): accept a trailing slash in sceKernelMkdir 2026-10-10 16:06:21 +00:00
relinker test(relinker): align module tests with nonrecursive discovery 2026-10-10 15:31:17 +03:00
shader/recompiler Merge pull request #2681 from oneandonlydean/up2/swept-buffer-staging 2026-10-11 04:36:15 +13:00