Commit Graph

3 Commits

Author SHA1 Message Date
MarcZX100 c96100aff1 fix(libc): map directory symlink loop errors
(cherry picked from commit d5e348c7b6846b2cd2cb5d1ecad9ad3493462047)
2026-10-10 18:24:36 +00:00
Achraf Reyani 46786b1e91 fix(libc): read directory entries through the wide dirent API on Windows
The guest passes and expects UTF-8 names, but on Windows opendir and
readdir used MinGW's narrow dirent API, which works in the ANSI code
page: opendir failed for a directory whose name is outside the code page,
and readdir returned names as ANSI bytes, with "?" for characters the code
page lacks. Use _wopendir and _wreaddir there and convert each name to
UTF-8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 00:45:18 +09:00
SamG-Coder 5301f89092 feat(libc): translate guest directory enumeration 2026-09-25 06:41:55 +10:00