https://bugs.winehq.org/show_bug.cgi?id=47169
--- Comment #14 from TOM l12436@yahoo.com.tw --- (In reply to Erich E. Hoover from comment #13)
(In reply to TOM from comment #12)
(In reply to Erich E. Hoover from comment #11)
... Yes, I am very surprised that that patch appears to be responsible for your issue. Would you please try replacing: lstat( fd->unix_name, &st ); with: fstat( fd->unix_fd, &st ); and see if that fixes the problem for you? (this change will break some of the reparse point behavior, but it is useful to know if it fixes your issue)
After a quick test. It seems work. No warning now. I may make sure my test is correct.
If you go back to the lstat version does it break again?
yes, change back to lstat, issue occur again.