docs(debt): match the Windows directory descriptor entry to the code #9239
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9239"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Dom3005 on 2026-10-21T16:17:19Z.
What
The
Windows directory descriptorsentry indocs/dev/debt/libkernel.mddescribes two behaviours that the code no longer has:getdentsreturnsENAMETOOLONGwithout consuming an entry whose UTF-8 name exceeds the one-byted_namlenlimit.d31e28308(fix(libkernel): throw for unsupported directory entry names) replaced that with a throw inFile::ReadDirectoryDescriptor, whichgetdentsandgetdirentriesboth go through.getdirentries"still reports 0 throughbasep". #8591 made it report the entry index its block starts at (*base = state.cursorbefore the read), so a value frombasepis now also a validlseekoffset.This PR updates both sentences to match the code. It changes documentation only.
Tested
Not tested at runtime; documentation only. I checked the new text against
core/libs/prx/libkernel/File/src/DirectoryDescriptor.cpp(ReadDirectoryDescriptor) andsceKernelGetdirentriesincore/libs/prx/libkernel/File/src/Stdio.cppon currentmain.python tools/check_conventions.pypasses.tools/pr_overlap.pylists other open PRs that touchdocs/dev/debt/libkernel.md, but none of them changes this entry.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code