[Bug 47169] Skyrim failed to load Data if Data directory is soft linked.

wine-bugs at winehq.org wine-bugs at winehq.org
Tue May 21 22:53:48 CDT 2019


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

--- Comment #21 from TOM <l12436 at yahoo.com.tw> ---
(In reply to Erich E. Hoover from comment #20)
> (In reply to TOM from comment #18)
> > Created attachment 64531 [details]
> > stdout of lstat and fstat
> > 
> > I saw that lstat only test Data directory and nothing else.
> > fstat still load the esp under the Data.
> > ...
> 
> There is a lot in these logs and I do not know what to look for (there are
> lots of Data directory printouts).  Could you give me a line number or
> something to search for so that I can see exactly what you mean?  I am very
> surprised that you get nothing when you compare the return value to -1 to
> restrict the fprintf to failed calls.

I am also surprised that it did not return failed.

Around 29753 in stdout-lstat and stdout-fstat which is get the state of
"/swap/wine/skyrim/dosdevices/d:/The.Elder.Scrolls.V.Skyrim/Data".
You will start saw the difference on lstat and fstat.
With fstat(), Skyrim will also load the esm and esp under the Data. For some
reason, lstat is skipping all the esm, esp under that directory.

> 
> (In reply to TOM from comment #19)
> > ...
> > and I was wondering, %m did not need anything pass to it ?
> 
> No, %m returns the human-readable error string for the current value of
> "errno".

OK, learn a lesson.

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