https://bugs.winehq.org/show_bug.cgi?id=50036
--- Comment #15 from Erich E. Hoover erich.e.hoover@gmail.com --- (In reply to Martin Storsjö from comment #14)
... Hmm, either I'm doing something wrong (I didn't apply all of wine-staging, I just applied ntdll-Junction_Points and its dependencies ntdll-DOS_Attributes and ntdll-NtQueryEaFile), or there's still something missing - the attached test case now outputs this:
No, it's probably that I made a mistake - try removing this block in server/fd.c: === #if defined(O_SYMLINK) /* if we tried to open a dangling symlink then try again with O_SYMLINK */ else if (errno == ENOENT) { fd->unix_fd = open( name, rw_mode | O_SYMLINK | (flags & ~O_TRUNC), *mode ); } #endif ===