On Tue Apr 9 07:20:15 2024 +0000, eric pouech wrote:
this will only be tested on x86_64 (the assumption that the buffering is orthogonal to the machine seems reasonable, but remains to be tested for future native ucrtbase versions) perhaps we could do something like:
if (broken(!GetProcAddress(GetModuleHandleA("ucrtbase"), "__CxxFrameHandler4") && !pos)) trace("stderr is unbuffered\n"); else ok(pos == 4, ...
I guess it will not be spotted until there's a failing test. If you prefer adding a trace - it works for me. Could you please update the patch?