[PATCH 4/4] vbscript: Implemented Abs(try 2)

Piotr Caban piotr.caban at gmail.com
Thu Jun 26 07:49:43 CDT 2014


On 06/26/14 12:13, Shuai Meng wrote:
> I guess you mean that I need to handle res==NULL case in branch
> if(V_VT(arg) == VT_NULL), right?
Yes, but return_null() function will already cover it for you.

> There is another problem: though Abs(Null) should return Null according to
> http://msdn.microsoft.com/en-__us/library/307330xe(v=vs.84).__aspx
> <http://msdn.microsoft.com/en-us/library/307330xe(v=vs.84).aspx> , but I
> test it in WINXP, i.e.  when arg == Null, the vbscript code:
> Call Abs(Null)
> and
> dim b
> b = Abs(Null)
> MsgBox b
>   returns an error.
I don't see this issue. Probably you have done something incorrectly. 
Here's result from a testbot run that tests Abs(Null). The tests are 
working on all machines.
http://newtestbot.winehq.org/JobDetails.pl?Key=7712



More information about the wine-devel mailing list