[PATCH 1/2] msvcr90 - rename the stat64i32 functions

Vijay Kiran Kamuju infyquest at gmail.com
Sat Nov 20 08:29:00 CST 2010


Changelog
---------------
This is part 1/2 of the patch series which add missing stat function
definitions

[PATCH 1/2] msvcr90 - rename the stat64i32 functions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101120/a0efa105/attachment.htm>
-------------- next part --------------
From b6eb99eac2e49803dfe9a584ba75133ca50b43f0 Mon Sep 17 00:00:00 2001
From: Vijay Kiran Kamuju <infyquest at gmail.com>
Date: Sat, 20 Nov 2010 08:52:23 -0500
Subject: [PATCH 1/2] [PATCH 1/2] msvcr90 - rename the *stat64i32 functions

---
 dlls/msvcr90/msvcr90.c    |    6 +++---
 dlls/msvcr90/msvcr90.spec |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/msvcr90/msvcr90.c b/dlls/msvcr90/msvcr90.c
index dbe528f..21e040f 100644
--- a/dlls/msvcr90/msvcr90.c
+++ b/dlls/msvcr90/msvcr90.c
@@ -154,7 +154,7 @@ static void msvcrt_stat64_to_stat64i32(const struct _stat64 *buf64, struct _stat
     buf->st_ctime = buf64->st_ctime;
 }
 
-int CDECL _fstat64i32(int fd, struct _stat64i32* buf)
+int CDECL MSVCR90__fstat64i32(int fd, struct _stat64i32* buf)
 {
   int ret;
   struct _stat64 buf64;
@@ -168,7 +168,7 @@ int CDECL _fstat64i32(int fd, struct _stat64i32* buf)
 /*********************************************************************
  *		_stat64i32 (MSVCRT.@)
  */
-int CDECL _stat64i32(const char* path, struct _stat64i32 * buf)
+int CDECL MSVCR90__stat64i32(const char* path, struct _stat64i32 * buf)
 {
   int ret;
   struct _stat64 buf64;
@@ -182,7 +182,7 @@ int CDECL _stat64i32(const char* path, struct _stat64i32 * buf)
 /*********************************************************************
  *              _wstat64i32 (MSVCRT.@)
  */
-int CDECL _wstat64i32(const wchar_t *path, struct _stat64i32 *buf)
+int CDECL MSVCR90__wstat64i32(const wchar_t *path, struct _stat64i32 *buf)
 {
     int ret;
     struct _stat64 buf64;
diff --git a/dlls/msvcr90/msvcr90.spec b/dlls/msvcr90/msvcr90.spec
index 663e1b7..690f995 100644
--- a/dlls/msvcr90/msvcr90.spec
+++ b/dlls/msvcr90/msvcr90.spec
@@ -487,7 +487,7 @@
 @ stub _fstat32
 @ stub _fstat32i64
 @ cdecl _fstat64(long ptr) msvcrt._fstat64
-@ cdecl _fstat64i32(long ptr)
+@ cdecl _fstat64i32(long ptr) MSVCR90__fstat64i32
 @ stub _ftell_nolock
 @ cdecl -ret64 _ftelli64(ptr) msvcrt._ftelli64
 @ stub _ftelli64_nolock
@@ -966,7 +966,7 @@
 @ stub _stat32
 @ stub _stat32i64
 @ cdecl _stat64(str ptr) msvcrt._stat64
-@ cdecl _stat64i32(str ptr)
+@ cdecl _stat64i32(str ptr) MSVCR90__stat64i32
 @ cdecl _statusfp() msvcrt._statusfp
 @ stub _statusfp2
 @ stub _strcoll_l
@@ -1236,7 +1236,7 @@
 @ stub _wstat32
 @ stub _wstat32i64
 @ cdecl _wstat64(wstr ptr) msvcrt._wstat64
-@ cdecl _wstat64i32(wstr ptr)
+@ cdecl _wstat64i32(wstr ptr) MSVCR90__wstat64i32
 @ cdecl _wstrdate(ptr) msvcrt._wstrdate
 @ cdecl _wstrdate_s(ptr long) msvcrt._wstrdate_s
 @ cdecl _wstrtime(ptr) msvcrt._wstrtime
-- 
1.7.1


More information about the wine-patches mailing list