[Bug 47160] wine-staging is unable to execute executable which is soft link in linux.

wine-bugs at winehq.org wine-bugs at winehq.org
Tue May 28 09:12:54 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=47160

--- Comment #22 from Erich E. Hoover <erich.e.hoover at 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.

-- 
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.



More information about the wine-bugs mailing list