AnyPS5/core/libs/prx/libkernel
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
..
Aio/src fix(libkernel): preserve EINVAL in AIO completions 2026-10-10 08:42:19 +02:00
AppMetadata fix(kernel): skip the download0 mount when param.json cannot be read 2026-10-08 16:07:18 +02:00
Apr fix(windows): use precise sleeps for sub-millisecond polling 2026-10-10 08:30:28 +00:00
DirectMemory fix(libkernel): answer munlock from the guest mapping state on Linux 2026-10-10 22:56:07 +13:00
Equeue fix(libkernel): report AMPR completion events with the AMPR filter 2026-10-07 19:37:40 -04:00
EventFlag/src feat(runtime): timed waits, sync primitive fixes, heap and RTC fixes, unattended-run switches 2026-09-26 19:00:39 -07:00
File fix(libkernel): accept a trailing slash in sceKernelMkdir 2026-10-10 16:06:21 +00:00
Module fix(libkernel): unregister guest module images in dlclose and propagate failures 2026-10-10 10:23:50 +02:00
Pthread fix(libkernel): keep host stack room below guest thread stacks 2026-10-10 22:41:03 +13:00
Semaphore Merge pull request #315 from RomainROCH/codex/fix-semaphore-overflow 2026-10-04 14:01:19 +13:00
Socket Merge pull request #1786 from Zurisen/fix/windows-socket-shutdown-epipe 2026-10-10 17:41:18 +13:00
SyncOnAddress/src feat(libkernel): implement sceKernelSyncOnAddressWait8 and sceKernelSyncOnAddressWait16 2026-10-06 04:30:12 +05:30
System/src feat(libkernel): implement kill 2026-10-10 11:06:12 +02:00
Time feat(libkernel): implement thread cancellation 2026-10-10 11:32:09 +02:00
CMakeLists.txt feat(libkernel): implement thread cancellation 2026-10-10 11:32:09 +02:00
KernelErrors.hpp refactor(kernel): share SCE kernel error codes through KernelErrors.hpp 2026-09-27 13:32:28 +07:00
Unimplemented.cpp feat(libkernel): implement thread cancellation 2026-10-10 11:32:09 +02:00