Repository navigation
Conversation
|
Windows build check of this PR. Environment: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release, Result: the merged tree builds, but no test of this PR runs on Windows: its test ( Not checked: any behaviour of the change on Windows; no title run. AI-assisted (Claude Code). |
|
Closing: no title is known to reach this. With the queue at 700+ open PRs, please hold off on new PRs that don't name a title needing the change until it's down. If a title stops on this on current main, reopen with the title ID and the log line. |
What
The Windows directory descriptor backend classified each entry by following it with
directory_entry::is_directory(). As a result, a symlink to a directory was reported asDT_DIR, and a symlink to a file was reported asDT_REG. Linuxgetdentsreports the directory entry itself asDT_LNK; libcreaddirin this project already usessymlink_statusfor that distinction.Classify Windows
sceKernelGetdentsentries usingsymlink_status, preserving symlinks as guest type 10. Extend the shared directory-entry regression to include both a file symlink and a directory symlink.Tested
guest_directory_entry_testsbuilt.ctest --test-dir build-getdents -R '^guest_directory_entries$' --output-on-failure: passed (1/1).-Wall -Wextra -Werrorcompile of the WindowsDirectoryDescriptor.cpppath: passed.python3 tools/check_conventions.py --base upstream/main --head HEAD: passed.python3 tools/check_test_registration.py build-getdents: 762 test executables, 0 built and unrun.git diff --check upstream/main...HEAD: passed.Checklist
main; no other open PR implements the same behavior