Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
d9746e3e
Commit
d9746e3e
authored
May 26, 2010
by
Robert Wilhelm
Committed by
Alexandre Julliard
May 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt90: Add fstat64i32.
parent
b3429e88
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
1 deletion
+32
-1
msvcr90.c
dlls/msvcr90/msvcr90.c
+31
-0
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
No files found.
dlls/msvcr90/msvcr90.c
View file @
d9746e3e
...
...
@@ -26,6 +26,7 @@
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
#include "sys/stat.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
msvcr90
);
...
...
@@ -158,3 +159,33 @@ void* CDECL _recalloc(void* mem, size_t num, size_t size)
memset
((
BYTE
*
)
mem
+
old_size
,
0
,
size
-
old_size
);
return
ret
;
}
/*********************************************************************
* _fstat64i32 (MSVCRT.@)
*/
static
void
msvcrt_stat64_to_stat64i32
(
const
struct
_stat64
*
buf64
,
struct
_stat64i32
*
buf
)
{
buf
->
st_dev
=
buf64
->
st_dev
;
buf
->
st_ino
=
buf64
->
st_ino
;
buf
->
st_mode
=
buf64
->
st_mode
;
buf
->
st_nlink
=
buf64
->
st_nlink
;
buf
->
st_uid
=
buf64
->
st_uid
;
buf
->
st_gid
=
buf64
->
st_gid
;
buf
->
st_rdev
=
buf64
->
st_rdev
;
buf
->
st_size
=
buf64
->
st_size
;
buf
->
st_atime
=
buf64
->
st_atime
;
buf
->
st_mtime
=
buf64
->
st_mtime
;
buf
->
st_ctime
=
buf64
->
st_ctime
;
}
int
CDECL
_fstat64i32
(
int
fd
,
struct
_stat64i32
*
buf
)
{
int
ret
;
struct
_stat64
buf64
;
ret
=
_fstat64
(
fd
,
&
buf64
);
if
(
!
ret
)
msvcrt_stat64_to_stat64i32
(
&
buf64
,
buf
);
return
ret
;
}
dlls/msvcr90/msvcr90.spec
View file @
d9746e3e
...
...
@@ -433,7 +433,7 @@
@ stub _fstat32
@ stub _fstat32i64
@ cdecl _fstat64(long ptr) msvcrt._fstat64
@
stub _fstat64i32
@
cdecl _fstat64i32(long ptr)
@ stub _ftell_nolock
@ stub _ftelli64
@ stub _ftelli64_nolock
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment