Correct use of the ok function in user/tests and kernel/tests

Jakob Eriksson jakov at vmlinux.org
Thu Dec 23 10:13:26 CST 2004


Aren't arguments always evaluated left to right?




Rein Klazes wrote:

>Hi,
>
>82 cases, most a variation of:
>
>ok( !Foo(), "Foo failed, error %ld\n", GetLastError());
>
>Changelog:
>	dlls/kernel/tests	: change.c, file.c, process.c, 
>				  thread.c, time.c
>	dlls/user/tests		: clipboard.c, msg.c, text.c win.c
>
>	Correct cases where arguments of ok() calls depend on the order
>	in which they are evaluated.
>
>  
>




More information about the wine-devel mailing list