shell32/tests: Use GetVersion() to skip a test on Vista
Zhenbo Li
litimetal at gmail.com
Thu Dec 5 03:48:09 CST 2013
There are few lines in the code:
+ if (ret != ERROR_FILE_NOT_FOUND)
+ {
+ /* Vista would throw up a dialog box that we can't suppress */
As this problem only exists in Vista && Windows 2008, so I think use
GetVersion() is a better idea.
---
dlls/shell32/tests/shlfileop.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-shell32-tests-Use-GetVersion-to-skip-Timeout-tests.txt
Type: text/x-patch
Size: 1374 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20131205/5f4d0bdd/attachment.bin>
More information about the wine-patches
mailing list