msvcrt patch 1

Ove Kaaven ovehk at ping.uio.no
Sun Apr 15 10:19:56 CDT 2001


Log:
Ove Kaaven <ovek at transgaming.com>
Changed the spec definition of *s*printf from *str to ptr, since that
parameter is a destination buffer that may only contain garbage on entry.

Index: wine/dlls/msvcrt/msvcrt.spec
diff -u wine/dlls/msvcrt/msvcrt.spec:1.1.1.7 wine/dlls/msvcrt/msvcrt.spec:1.3
--- wine/dlls/msvcrt/msvcrt.spec:1.1.1.7	Sat Apr 14 18:49:45 2001
+++ wine/dlls/msvcrt/msvcrt.spec	Sat Apr 14 19:20:30 2001
@@ -491,7 +491,7 @@
 @ stub _unlock
 @ cdecl _utime(str ptr) _utime
 @ cdecl _vsnprintf(ptr long ptr ptr) vsnprintf
-@ cdecl _vsnwprintf(wstr long wstr long) _vsnwprintf
+@ cdecl _vsnwprintf(ptr long wstr long) _vsnwprintf
 @ cdecl _waccess(wstr long) _waccess
 @ stub _wasctime #(ptr)
 @ cdecl _wchdir(wstr) _wchdir
@@ -699,7 +699,7 @@
 @ cdecl signal(long long) MSVCRT_signal
 @ cdecl sin(double) sin
 @ cdecl sinh(double) sinh
-@ varargs sprintf(str str) sprintf
+@ varargs sprintf(ptr str) sprintf
 @ forward -noimport sqrt ntdll.sqrt
 @ cdecl srand(long) srand
 @ varargs sscanf(str str) sscanf
@@ -742,7 +742,7 @@
 @ cdecl vfwprintf(ptr wstr long) MSVCRT_vfwprintf
 @ cdecl vprintf(str long) MSVCRT_vprintf
 @ cdecl vsprintf(ptr str ptr) vsprintf
-@ cdecl vswprintf(wstr wstr long) MSVCRT_vswprintf
+@ cdecl vswprintf(ptr wstr long) MSVCRT_vswprintf
 @ cdecl vwprintf(wstr long) MSVCRT_vwprintf
 @ forward -noimport wcscat ntdll.wcscat
 @ forward -noimport wcschr ntdll.wcschr





More information about the wine-patches mailing list