Jon Doron arilou@gmail.com writes:
The interesting thing is that in the past Wine behavior was correct and the change that basically broke it is commit:
commit 0f5fc117a2320bb7e21b9ae4d07d717bed413171 Author: Alexandre Julliard julliard@winehq.org Date: Mon Nov 19 14:27:07 2007 +0100
ntdll: Unblock signals in process init only after the dlls have
been imported.
Unfortunately though there I could not find any reason why the change was made or if there is any bug that it fixed back then (2007) .
There were apps (usually copy protection) that expected to find some dlls already loaded in order to patch them. Still, it's very possible that the initialization order isn't quite correct yet. The first step would be to write some test cases.