[Bug 36838] TOCA Touring Car Championship: installer copies one file from CD and then shows an error

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Apr 20 18:48:28 CDT 2016


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

--- Comment #15 from Olivier F. R. Dierick <o.dierick at piezo-forte.be> ---
Created attachment 54306
  --> https://bugs.winehq.org/attachment.cgi?id=54306
Add test to show last error status after shell file operation.

Here is a conformance test to show that last error should be ERROR_SUCCESS
after a successful shell32 operation.

The test succeed on 32bit Windows VM from Wine Test Bot [1].

The test fails on plain wine 1.9.8:
---begin quote---
...
shlfileop.c:1833: Test failed: Expected ERROR_SUCCESS, got 1
shlfileop: 751 tests executed (24 marked as todo, 1 failure), 1 skipped.
---end quote---
Error code 1 is ERROR_INVALID_FUNCTION.

The test succeed on patched wine 1.9.8 (patch from comment #14).

This demonstrates that the calls to wow64 functions in UNIXFS_get_unix_name()
is the cause of the error, and that the error must be avoided for conformance.

[1] https://testbot.winehq.org/JobDetails.pl?Key=22408

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