https://bugs.winehq.org/show_bug.cgi?id=47160 --- Comment #23 from TOM <l12436(a)yahoo.com.tw> --- (In reply to Erich E. Hoover from comment #22)
(In reply to TOM from comment #21)
found it.
/* return information about the destination (unless this is a dangling symlink) */ stat( path, st ); /* symbolic links always report size 0 */ st->st_size = 0; /* symbolic links (either junction points or NT symlinks) are "reparse points" */ *attr |= FILE_ATTRIBUTE_REPARSE_POINT;
This code "st->st_size = 0;" causing file being empty and can not read normally. Need develop of winehq to investigate.
Interesting, that was added specifically to fix some failing tests in msvcp. It may be that this behavior is dependent upon something else, but I will have to investigate and get back to you.
Thanks for your investigate. I think this may cause many program work abnormal. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.