Repository navigation
Conversation
|
The tests cover the behavior this patch chose, but they do not establish that the guest behavior is correct. The body says two titles import |
|
Thanks for the careful review, you're right on both points. Short buffer. I checked FreeBSD's The Import evidence. You're right that an import list doesn't show the function is reached. I don't have PPSA99039 or PPSA99001 to run, so I can't provide a reproduced failure or log. I removed that claim from the PR body and the TechnicalDebt entry. If you'd prefer this wait for a real trace, or be implemented differently, I'm open to that. Thanks again. |
|
The FreeBSD source resolves the short-buffer behavior, and removing the import claim was the right correction. I still cannot approve: |
|
Thanks for the review, Marc. Without a source or console trace for the host name, this would return a guessed value that titles can observe, so I'm closing it rather than merging a placeholder. The branch stays in my fork. If anyone can print |
|
First Windows run, since the description says it wasn't tested on Windows. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Merged onto
🤖 Addressed by Claude Code |
What
gethostnamewas not exported.It writes the fixed name
PS5and returns 0. A buffer shorter than the name returns -1 withENAMETOOLONG(63), following FreeBSDlib/libc/gen/gethostname.c. A null buffer returns -1 without settingerrno. The namePS5has no known source and the console's behaviour on a short buffer is unverified; both are recorded in technical debt. No title was run, so no log is attached.core/libs/prx/libSceLibcInternal/Export.cpp:gethostname.guest_thread_atexittest: full name, exact fit, short buffer, zero length and null buffer.TechnicalDebt.md: entry under unknown function info.Tested
Linux (CachyOS), GCC 16.2.1, Release.
guest_thread_atexitpasses.tools/check_conventions.py --base upstream/mainpasses.Not tested on Windows or macOS.
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)