Add _stat64i32.

Robert Wilhelm (none) robert at gaston.
Wed May 26 03:39:06 CDT 2010


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

diff --git a/dlls/msvcr90/msvcr90.c b/dlls/msvcr90/msvcr90.c
index 92c4ef0..3bc9663 100644
--- a/dlls/msvcr90/msvcr90.c
+++ b/dlls/msvcr90/msvcr90.c
@@ -190,3 +190,18 @@ int CDECL _fstat64i32(int fd, struct _stat64i32* buf)
   return ret;
 }
 
+/*********************************************************************
+ *		_stat64i32 (MSVCRT.@)
+ */
+int CDECL _stat64i32(const char* path, struct _stat64i32 * buf)
+{
+  int ret;
+  struct _stat64 buf64;
+
+  ret = _stat64(path, &buf64);
+  if (!ret)
+    msvcrt_stat64_to_stat64i32(&buf64, buf);
+  return ret;
+}
+
+
diff --git a/dlls/msvcr90/msvcr90.spec b/dlls/msvcr90/msvcr90.spec
index f350d18..6592e7c 100644
--- a/dlls/msvcr90/msvcr90.spec
+++ b/dlls/msvcr90/msvcr90.spec
@@ -912,7 +912,7 @@
 @ stub _stat32
 @ stub _stat32i64
 @ cdecl _stat64(str ptr) msvcrt._stat64
-@ stub _stat64i32
+@ cdecl _stat64i32(str ptr)
 @ cdecl _statusfp() msvcrt._statusfp
 @ stub _statusfp2
 @ stub _strcoll_l
-- 
1.6.6.1


--=-sR4jvLvd4kmdy8uygqsy--




More information about the wine-patches mailing list