28 Jul
2023
28 Jul
'23
7:54 p.m.
For the record, I didn't say that it is a bug in Wine, I think it is a bug in 9pfs as docs suggest that O_NONBLOCK has no effect on regular files. What I noted is that the same docs advises against using O_NONBLOCK with regular files and expect sync behaviour because it can in theory change in the future (but not so far). Unfortunately I can't easily comment on correctness of this change. I suspect that O_NONBLOCK might be actually needed for something and unconditionally removing it will break that something, but can't immediately guess which case is that. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3445#note_40661