"Olaf" == Olaf Leidinger leidola@newcon.de writes:
...
Olaf> By the way... what is the difference between "retval" and "ret"? Olaf> It sounds the same.
ret means the address of the piece of code calling the function retval is the actual return value of the function returning to the caller. With a void function (like ftime time.c: * _ftime (MSVCRT.@) time.c:void _ftime(struct MSVCRT__timeb *buf) ) it doesn't make sense.
B.t.w., vararg functions (look in msvcrt.spec) don't appear in the relay trace.
Olaf> There are still some megs in front of me... Perhaps you could Olaf> comment my discoveries so far. Personally I think they aren't very Olaf> important, but I really don't know much about the win32 api, so I Olaf> can't tell...
The difference in the cipow seems of importance ( math.c:double _CIpow(void) ). I am not sure about a double as retval. Perhaps you can instrument dll/msvcrt/math.c with the patch below and run with (additional or exclusive) WINEDEBUG=+msvrt and look if the arguments and result look right.
Happy bughunting