Andrey Zhezherun zhezherun@yandex.ru writes:
On 1 November 2013 09:37, Piotr Caban piotr.caban@gmail.com wrote:
On 11/01/13 00:40, Andrey Zhezherun wrote:
+__int64 __cdecl _chsize_s(int,__int64);
There should be int (or errno_t) instead of __int64.
Fixed, revised patch is attached.
Regards, Andrey
--- wine-1.7.5.orig/dlls/crtdll/crtdll.spec 2013-10-25 18:45:30.000000000 +0100 +++ wine-1.7.5/dlls/crtdll/crtdll.spec 2013-10-30 11:09:56.000000000 +0000 @@ -58,6 +58,7 @@ @ cdecl _chgsign(double) msvcrt._chgsign @ cdecl _chmod(str long) msvcrt._chmod @ cdecl _chsize(long long) msvcrt._chsize +@ cdecl _chsize_s(long int64) msvcrt._chsize_s @ cdecl _clearfp() msvcrt._clearfp @ cdecl _close(long) msvcrt._close @ cdecl _commit(long) msvcrt._commit
It's not exported in old dlls, you shouldn't be adding it.