asserts in wine

Dan McDonald dan at wellkeeper.com
Tue Mar 16 11:10:21 CDT 2010


On 03/07/2010 10:35 AM, Vitaliy Margolen wrote:
> On 03/07/2010 04:38 AM, Reece Dunn wrote:
>>   2/  dlls should be changed to a SetLastError or failure return code
>> (depending on the API) -- otherwise, the program triggering this will
>> be killed with no information as to what happened.
> This depends. If something catastrophic happened and returning to
> application will surely cause it's crash - then it's better assert inside
> Wine. You'll have much better traces and information about the source of the
> problem. But if an app just passed invalid parameters returning error would
> seem to be appropriate.
> 

If we're trying to mimic Windows behavior, isn't a BSOD more
appropriate? ;-)

Dan



More information about the wine-devel mailing list