13 May
2025
13 May
'25
8:55 p.m.
Jinoh Kang (@iamahuman) commented about server/fd.c:
flags &= ~(O_CREAT | O_EXCL | O_TRUNC); }
- if ((access & FILE_UNIX_WRITE_ACCESS) && !(options & FILE_DIRECTORY_FILE)) + if ((access & (FILE_WRITE_DATA|FILE_APPEND_DATA)) &&
I think we should change the definition of `FILE_UNIX_WRITE_ACCESS` instead. It's in server/file.h. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8030#note_103204