23 Feb
2026
23 Feb
'26
10:34 a.m.
Piotr Caban (@piotr) commented about dlls/msvcp90/exception.c:
return !!ep->rec; }
+/********************************************************************* + * ?__ExceptionPtrSwap@@YAXPAX0@Z + * ?__ExceptionPtrSwap@@YAXPEAX0@Z + */ +void __cdecl __ExceptionPtrSwap(exception_ptr *a, exception_ptr *b) +{ + EXCEPTION_RECORD *rec = a->rec; + a->rec = b->rec; + b->rec = rec;
Please also swap the reference counter (it's probably best to make a copy of whole exception_ptr structure). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10159#note_130189