Idea of fixing SHFileOperation(FO_MOVE)

Zhenbo Li litimetal at gmail.com
Thu Sep 3 09:17:00 CDT 2015


Hi Bruno,

Thanks for your comments.

2015-09-03 16:04 GMT+08:00 Bruno Jesus <00cpxxx at gmail.com>:
>
> Hi, I dislike the idea of removing tests because they are obsolete but that
> is just my opinion. At least I like to keep winsock running in NT4.
>
Do you know how I can get the test result in NT4? I have no idea about that.

> What I have done in patches that reached similar issues is to detect the OS
> using a specific test that you are sure differs between OS and then use
> if/else to separate the tests. This reduces the amount of broken required,
> broken can be a vilain sometimes because it does not specify which OS is
> failing.

How about this soultion?
ok(retval == value1 || broken(retval == value2) || broken(retval == value3) ...)
switch(retval)
{
case value1:...
case value2:...
case value3:...
}

In this way, we can find the difference between OSs.


-- 
Have a nice day!
Zhenbo Li



More information about the wine-devel mailing list