28 May
2024
28 May
'24
8:38 p.m.
V2: - removed code for testing various handle types (only doing file for now) and moved FILE creation to child process - using position from file descriptor to detect if buffering is enabled - didn't find any new function in UCRTBASE to distinguish for ucrtbase with buffering of stderr disabled; so ended up using ucrtbase version information (didn't find anything better, if someone has a better idea, feel free to jump in) - kept the subprocess & reopen because wine/test.h changes stdout buffer state -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5462#note_67230