Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
ead3ccc1
Commit
ead3ccc1
authored
Feb 14, 2013
by
Jactry Zeng
Committed by
Alexandre Julliard
Feb 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr100: Added _wstat32i64 implementation.
parent
f67bc43e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletion
+30
-1
msvcr100.c
dlls/msvcr100/msvcr100.c
+29
-0
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
No files found.
dlls/msvcr100/msvcr100.c
View file @
ead3ccc1
...
@@ -251,6 +251,35 @@ int CDECL _wstat32(const wchar_t *path, struct _stat32* buf)
...
@@ -251,6 +251,35 @@ int CDECL _wstat32(const wchar_t *path, struct _stat32* buf)
return
ret
;
return
ret
;
}
}
static
void
stat64_to_stat32i64
(
const
struct
_stat64
*
buf64
,
struct
_stat32i64
*
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
;
}
/*********************************************************************
* _wstat32i64 (MSVCR100.@)
*/
int
CDECL
_wstat32i64
(
const
wchar_t
*
path
,
struct
_stat32i64
*
buf
)
{
int
ret
;
struct
_stat64
buf64
;
ret
=
_wstat64
(
path
,
&
buf64
);
if
(
!
ret
)
stat64_to_stat32i64
(
&
buf64
,
buf
);
return
ret
;
}
static
void
stat64_to_stat64i32
(
const
struct
_stat64
*
buf64
,
struct
_stat64i32
*
buf
)
static
void
stat64_to_stat64i32
(
const
struct
_stat64
*
buf64
,
struct
_stat64i32
*
buf
)
{
{
buf
->
st_dev
=
buf64
->
st_dev
;
buf
->
st_dev
=
buf64
->
st_dev
;
...
...
dlls/msvcr100/msvcr100.spec
View file @
ead3ccc1
...
@@ -1588,7 +1588,7 @@
...
@@ -1588,7 +1588,7 @@
@ cdecl _wsplitpath(wstr ptr ptr ptr ptr) msvcrt._wsplitpath
@ cdecl _wsplitpath(wstr ptr ptr ptr ptr) msvcrt._wsplitpath
@ cdecl _wsplitpath_s(wstr ptr long ptr long ptr long ptr long) msvcrt._wsplitpath_s
@ cdecl _wsplitpath_s(wstr ptr long ptr long ptr long ptr long) msvcrt._wsplitpath_s
@ cdecl _wstat32(wstr ptr)
@ cdecl _wstat32(wstr ptr)
@
stub _wstat32i64
@
cdecl _wstat32i64(wstr ptr)
@ cdecl _wstat64(wstr ptr) msvcrt._wstat64
@ cdecl _wstat64(wstr ptr) msvcrt._wstat64
@ cdecl _wstat64i32(wstr ptr)
@ cdecl _wstat64i32(wstr ptr)
@ cdecl _wstrdate(ptr) msvcrt._wstrdate
@ cdecl _wstrdate(ptr) msvcrt._wstrdate
...
...
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