msvcrt: Save esp before calling catch block and restore afterwards.
commit82818284c3a227fdbd894e626b887f5bb6b3addc
authorPeter Beutner <p.beutner@gmx.net>
Wed, 22 Feb 2006 11:21:00 +0000 (22 12:21 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 22 Feb 2006 11:21:00 +0000 (22 12:21 +0100)
tree2cbb40baa9efa22464d09ac3046611f6ecbee504
parentbe07b6db594d279a3391b7fb5af8048dcd78473b
msvcrt: Save esp before calling catch block and restore afterwards.
It seems like the esp value (which is saved at [ebp-16]) is sometimes
changed inside the catch handler so we end up with a bogus esp
afterwards.  To avoid that save it before calling the catch block.
dlls/msvcrt/cppexcept.c