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
4c5d562c
Commit
4c5d562c
authored
Jul 31, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add MSVCRT prefix to _stat and _fstat (based on a patch by Rafael
Kitover).
parent
ac81d02a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
crtdll_main.c
dlls/crtdll/crtdll_main.c
+3
-1
file.c
dlls/msvcrt/file.c
+2
-2
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+2
-2
No files found.
dlls/crtdll/crtdll_main.c
View file @
4c5d562c
...
...
@@ -53,7 +53,7 @@ struct crtdll_stat
short
st_uid
;
short
st_gid
;
crtdll_dev_t
st_rdev
;
_off_t
st_size
;
MSVCRT
(
_off_t
)
st_size
;
MSVCRT
(
time_t
)
st_atime
;
MSVCRT
(
time_t
)
st_mtime
;
MSVCRT
(
time_t
)
st_ctime
;
...
...
@@ -114,6 +114,7 @@ void __GetMainArgs( int *argc, char ***argv, char ***envp, int expand_wildcards
*/
int
CRTDLL__fstat
(
int
fd
,
struct
crtdll_stat
*
buf
)
{
extern
int
_fstat
(
int
,
struct
_stat
*
);
struct
_stat
st
;
int
ret
;
...
...
@@ -127,6 +128,7 @@ int CRTDLL__fstat(int fd, struct crtdll_stat* buf)
*/
int
CRTDLL__stat
(
const
char
*
path
,
struct
crtdll_stat
*
buf
)
{
extern
int
_stat
(
const
char
*
,
struct
_stat
*
);
struct
_stat
st
;
int
ret
;
...
...
dlls/msvcrt/file.c
View file @
4c5d562c
...
...
@@ -670,7 +670,7 @@ int _flushall(void)
/*********************************************************************
* _fstat (MSVCRT.@)
*/
int
_fstat
(
int
fd
,
struct
_stat
*
buf
)
int
MSVCRT_
_fstat
(
int
fd
,
struct
_stat
*
buf
)
{
DWORD
dw
;
BY_HANDLE_FILE_INFORMATION
hfi
;
...
...
@@ -1135,7 +1135,7 @@ int _setmode(int fd,int mode)
/*********************************************************************
* _stat (MSVCRT.@)
*/
int
_stat
(
const
char
*
path
,
struct
_stat
*
buf
)
int
MSVCRT_
_stat
(
const
char
*
path
,
struct
_stat
*
buf
)
{
DWORD
dw
;
WIN32_FILE_ATTRIBUTE_DATA
hfi
;
...
...
dlls/msvcrt/msvcrt.spec
View file @
4c5d562c
...
...
@@ -241,7 +241,7 @@ init MSVCRT_Init
@ cdecl _fputchar(long) _fputchar
@ cdecl _fputwchar(long) _fputwchar
@ cdecl _fsopen(str str long) _fsopen
@ cdecl _fstat(long ptr) _fstat
@ cdecl _fstat(long ptr)
MSVCRT_
_fstat
@ stub _fstati64 #(long ptr)
@ cdecl _ftime(ptr) _ftime
@ forward -noimport _ftol ntdll._ftol
...
...
@@ -446,7 +446,7 @@ init MSVCRT_Init
@ cdecl _spawnvp(long str ptr) _spawnvp
@ cdecl _spawnvpe(long str ptr ptr) _spawnvpe
@ forward -noimport _splitpath ntdll._splitpath
@ cdecl _stat(str ptr) _stat
@ cdecl _stat(str ptr)
MSVCRT_
_stat
@ stub _stati64 #(str ptr)
@ cdecl _statusfp() _statusfp
@ cdecl _strcmpi(str str) strcasecmp
...
...
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