docs(debt): update the console and random device entries to current main #3849
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3849"
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 LeandroLP23 on 2026-10-11T17:56:10Z.
What
Two TechnicalDebt entries describe behaviour
mainno longer has. Doc-only.Relinked executable opens a console. Since
908befe81,--windows-guiselects the GUI subsystem (documented indocs/user/USAGE.md). The entry now says that the console is the default, and that a GUI build started from Explorer loses its output, as #3282 describes./dev/randomand/dev/urandom. The entry still says that aduped descriptor reads as an empty file and thatselectsees the null device. In fact:dupanddup2carry the random device over to the new descriptor (File/src/Stdio.cpp,File::RememberRandomDevice).selectreports both devices ready (Socket/src/Socket.cpp), as theselectentry already says.Those two clauses are dropped. The
fstat,lseekandmmapclauses stay, as those calls still see the null device.Tested
--windows --windows-guionmaina11c8f7f7has PE subsystem 2 and behaves like the console build over 3 runs each on a Radeon 860M, Windows 11 (26300).tools/check_conventions.py --base origin/mainpasses.mainhas:guest_filesystem(#3518),guest_kernel_sys(#3510) andwindows_exceptions(#3411) on Windows, andagc_driver_emulated_color_compare,agc_driver_image_plane_address_on_line_implicit_lodandguest_kernel_stack_protecton Linux.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-12T09:48:30Z.
@MarcZX100 #4237 adds its entry on the line after this PR's console entry in
TechnicalDebt.md, so whichever merges second hits a one-line conflict. Neither depends on the other. If #4237 goes in first, I'll rebase this one.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-12T19:05:54Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)docs/dev/debt/relinker.mdL6Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-12T20:11:25Z.
Re-checked after the rebase onto the split debt files:
--windows-gui(docs/user/USAGE.md),dup/dup2carrying the random device (Stdio.cpp),selectreporting it ready (Socket.cpp, and its own entry), andfstat/lseek/mmapstill seeing the null device. Docs only; merging.