https://bugs.winehq.org/show_bug.cgi?id=47160
--- Comment #22 from Erich E. Hoover erich.e.hoover@gmail.com --- (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.