fix(libc): handle bare hexadecimal prefixes on Windows #3082
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3082"
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-10T21:51:06Z.
What
Carry screamm's explicitly offered Windows
strtol-family fix from issue #3075. A bare0xprefix without a following hexadecimal digit is treated as the initial zero, leaving the end pointer immediately after that zero, consistent with the C subject-sequence rule, FreeBSD, and glibc.Tested
The contributor reports Windows 11 Pro 26220 / WinLibs GCC 15.2.0 / Release full build including
libs;guest_mathpassed 3/3 andctest -j8 -E "^agc_|video_out"passed 388/388. Linux runtime tests were not reported because this helper is Windows-only. In this session, conventions andgit diff --checkpassed; the local full CMake configure was blocked by the unavailable pinned SDL2 submodule commit.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