Commit Graph
7 Commits
Author SHA1 Message Date
JJenkxandClaude Opus 5.5 ee5055268b fix(tests): pass guest_system_font, exec_arguments and unwrap_self under a non-ASCII TEMP on Windows
With %TEMP% outside ASCII (a profile like C:\Users\José), three tests
fail on Windows because they mix the two narrow encodings: MinGW's
std::filesystem::path::string() is UTF-8, while fopen, getenv and console
tools use the ANSI or OEM code page.

- guest_system_font opened its stderr capture file with
  fopen(path.string()); it now uses _wfopen on Windows.
- The exec_arguments fixture built the second program's environment from
  getenv, which returns ANSI bytes that execve rejects as invalid UTF-8;
  it now reads LD_LIBRARY_PATH and ANYPS5_LOADEXEC_TEST_ROOT as UTF-8
  through GetEnvironmentVariableW.
- unwrap_self decoded icacls output as UTF-8 (Python 3.15 UTF-8 mode);
  icacls writes the OEM code page, so it is decoded as "oem".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 15:20:20 -04:00
Adrià FranchandClaude Sonnet 5.5 2c228e738c fix(libkernel): include the public Api headers in the exec host test
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-26 14:13:43 +01:00
fogydes 719701a68e fix(libkernel): follow the measured exec lookup and image checks 2026-10-26 16:19:46 +05:30
fogydes 23dc69a2e3 fix(libkernel): return EBADF for an exec null path as measured on the console 2026-10-26 15:06:01 +05:30
fogydes cc46172855 fix(libkernel): keep the host runtime variables in the exec replacement environment 2026-10-26 14:51:38 +05:30
fogydes d53bb5a1fa fix(libkernel): align the exec arguments with FreeBSD 11.4 2026-10-26 14:51:38 +05:30
fogydes f53346a288 feat(libkernel): implement execv, execvp and execve process replacement 2026-10-26 14:51:38 +05:30