[user/tests/sysparams.c] Added more SetLastError(0)'s

Paul Vriens Paul.Vriens at xs4all.nl
Wed Mar 2 11:50:43 CST 2005


Hi,

as discussed a few times on wine-devel, there isa  need to clear the
last error before calling a SPI_{GET|SET} routine.

It appears that not every call resets the last error to 0 on succession
and thus errors will propagate and leave us in the dark.

Changelog
  Add more SetLastError(0) statements

Cheers,

Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysparams_3.diff
Type: text/x-patch
Size: 8073 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050302/9979e0d7/sysparams_3.bin


More information about the wine-patches mailing list