https://bugs.winehq.org/show_bug.cgi?id=47169
--- Comment #34 from TOM l12436@yahoo.com.tw --- OK I accidiently found it.
The "*mode" right after the lstat seems not re-assign to the mode that fstat return.
If I add a "*mode = st.st_mode" right after the fstat, issue gone. Is that Intend to return the mode that lstat return or just a BUG?
current code.
/* decode symlink type */ fstat( fd->unix_fd, &st ); *mode = st.st_mode;