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
951968c8
Commit
951968c8
authored
Dec 04, 2020
by
Piotr Caban
Committed by
Alexandre Julliard
Dec 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use _stat64 definition from public header.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8a2dc3aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
58 deletions
+2
-58
file.c
dlls/msvcrt/file.c
+2
-2
msvcrt.h
dlls/msvcrt/msvcrt.h
+0
-56
No files found.
dlls/msvcrt/file.c
View file @
951968c8
...
...
@@ -3003,7 +3003,7 @@ int CDECL _stat64(const char* path, struct _stat64 * buf)
return
-
1
;
}
memset
(
buf
,
0
,
sizeof
(
struct
MSVCRT_
_stat64
));
memset
(
buf
,
0
,
sizeof
(
struct
_stat64
));
/* FIXME: rdev isn't drive num, despite what the docs say-what is it?
Bon 011120: This FIXME seems incorrect
...
...
@@ -3159,7 +3159,7 @@ int CDECL _wstat64(const wchar_t* path, struct _stat64 * buf)
return
-
1
;
}
memset
(
buf
,
0
,
sizeof
(
struct
MSVCRT_
_stat64
));
memset
(
buf
,
0
,
sizeof
(
struct
_stat64
));
/* FIXME: rdev isn't drive num, despite what the docs says-what is it? */
if
(
iswalpha
(
*
path
)
&&
path
[
1
]
==
':'
)
...
...
dlls/msvcrt/msvcrt.h
View file @
951968c8
...
...
@@ -283,62 +283,6 @@ extern unsigned msvcrt_create_io_inherit_block(WORD*, BYTE**) DECLSPEC_HIDDEN;
extern
FILE
MSVCRT__iob
[];
struct
MSVCRT__stat32
{
_dev_t
st_dev
;
_ino_t
st_ino
;
unsigned
short
st_mode
;
short
st_nlink
;
short
st_uid
;
short
st_gid
;
_dev_t
st_rdev
;
_off_t
st_size
;
__time32_t
st_atime
;
__time32_t
st_mtime
;
__time32_t
st_ctime
;
};
struct
MSVCRT__stat32i64
{
_dev_t
st_dev
;
_ino_t
st_ino
;
unsigned
short
st_mode
;
short
st_nlink
;
short
st_uid
;
short
st_gid
;
_dev_t
st_rdev
;
__int64
DECLSPEC_ALIGN
(
8
)
st_size
;
__time32_t
st_atime
;
__time32_t
st_mtime
;
__time32_t
st_ctime
;
};
struct
MSVCRT__stat64i32
{
_dev_t
st_dev
;
_ino_t
st_ino
;
unsigned
short
st_mode
;
short
st_nlink
;
short
st_uid
;
short
st_gid
;
_dev_t
st_rdev
;
_off_t
st_size
;
__time64_t
st_atime
;
__time64_t
st_mtime
;
__time64_t
st_ctime
;
};
struct
MSVCRT__stat64
{
_dev_t
st_dev
;
_ino_t
st_ino
;
unsigned
short
st_mode
;
short
st_nlink
;
short
st_uid
;
short
st_gid
;
_dev_t
st_rdev
;
__int64
DECLSPEC_ALIGN
(
8
)
st_size
;
__time64_t
st_atime
;
__time64_t
st_mtime
;
__time64_t
st_ctime
;
};
#define MSVCRT_RAND_MAX 0x7fff
#define MSVCRT_NO_CONSOLE_FD (-2)
...
...
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