https://bugs.winehq.org/show_bug.cgi?id=39627
--- Comment #2 from Sebastian Lackner sebastian@fds-team.de --- The patch looks like a noop at first sight, but there is indeed a minor difference:
--- snip --- - if (stat( unix_name.Buffer, &st ) == -1) + if (get_file_info( unix_name.Buffer, &st, &attributes ) == -1) --- snip ---
This has the effect that the Documents folder (which is a symlink) is now reported as reparse point, before that it wasn't. The remaining question is if this triggers a bug somewhere in Wine code, or if the application just cannot deal with reparse points.