feat(libc): implement IPv4 address helpers #1766
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1766"
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 MarcZX10 on 2026-10-08T18:43:40Z.
What
Implement the missing
__inet_addrand__inet_ntoaimports used by the homebrew audit in #1578. Use the host IPv4 parser and a thread-local output buffer produced byinet_ntop; initialize Winsock on Windows and link the required system library.Tested
Linux: built
libcandguest_inet_address_tests;ctest --test-dir build -R ^guest_inet_address$ --output-on-failurepassed.python3 tools/check_conventions.py --base upstream/mainpassed. Windows and PS5 hardware not tested.Checklist
main; no other open PR implements these functionsImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T19:07:58Z.
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)core/libs/prx/libc/CMakeLists.txtL45Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T19:22:20Z.
No title reaches
__inet_addr/__inet_ntoaon main yet: the homebrew audit lists the import, but those titles stop earlier at other missing imports. Closing for now; reopen when it's a title's next stop on main, with the log line.Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-08T21:21:12Z.
__inet_addris now a title's first stop onmain: in @SleglJan's run of the catalog onmain4b6ab6bb(#1578), RetroArch (PPSA99169) and Porpoise (PPSA99764) both stop at it, which is the evidence asked for above, so this could be reopened.__inet_aton, where PICO-8 (PPSA99808) stops, isn't in this PR; I'll send it as a separate PR next toNetwork.cppunless you'd rather add it here.Pull request closed