Maz
18da29b898
fix(shader): keep recompiler diagnostics off guest stdio
2026-10-20 16:01:02 +04:00
Maz
fb0b5ca919
fix(libc): send perror through the guest stderr stream
...
After a guest dup2 onto descriptor 2, host stderr is a separate FILE, so
perror must use the guest stream like the other stdio writers.
2026-10-20 13:38:07 +04:00
mazen
c03168fb47
fix(libc): keep guest stdio on a dup2 of descriptors 1 and 2
...
Host logging opens its own FILE on the saved descriptor. The guest FILE stays on the replaced descriptor, so guest printf, puts and fprintf still reach the pipe.
2026-10-20 13:38:07 +04:00
mazen
715fe9ca26
fix(libkernel): keep host stdout off a guest dup2 onto descriptor 1
...
The same guest dup2 that fills the stderr pipe also replaces descriptor 1, so host stdout was still writing into the guest pipe.
2026-10-20 13:38:07 +04:00
mazen
2d1c18410f
fix(libkernel): keep host stderr off a guest dup2 onto descriptor 2
...
Guest dup2 onto 2 replaces the CRT descriptor fprintf(stderr) still uses, so host logs fill the 4 KiB guest pipe.
2026-10-20 13:38:06 +04:00