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
9fda14a9
Commit
9fda14a9
authored
Oct 07, 2014
by
Iván Matellanes
Committed by
Alexandre Julliard
Oct 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added _fclose_nolock() implementation.
parent
1e65a32e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
7 deletions
+20
-7
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+1
-1
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
file.c
dlls/msvcrt/file.c
+14
-3
msvcrt.h
dlls/msvcrt/msvcrt.h
+1
-0
stdio.h
include/msvcrt/stdio.h
+1
-0
No files found.
dlls/msvcr100/msvcr100.spec
View file @
9fda14a9
...
...
@@ -794,7 +794,7 @@
@ cdecl _execvpe(str ptr ptr)
@ cdecl _exit(long) MSVCRT__exit
@ cdecl _expand(ptr long)
@
stub
_fclose_nolock
@
cdecl _fclose_nolock(ptr) MSVCRT_
_fclose_nolock
@ cdecl _fcloseall() MSVCRT__fcloseall
@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt
@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s
...
...
dlls/msvcr110/msvcr110.spec
View file @
9fda14a9
...
...
@@ -1142,7 +1142,7 @@
@ cdecl _execvpe(str ptr ptr)
@ cdecl _exit(long) MSVCRT__exit
@ cdecl _expand(ptr long)
@
stub
_fclose_nolock
@
cdecl _fclose_nolock(ptr) MSVCRT_
_fclose_nolock
@ cdecl _fcloseall() MSVCRT__fcloseall
@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt
@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s
...
...
dlls/msvcr80/msvcr80.spec
View file @
9fda14a9
...
...
@@ -461,7 +461,7 @@
@ cdecl _execvpe(str ptr ptr)
@ cdecl _exit(long) MSVCRT__exit
@ cdecl _expand(ptr long)
@
stub
_fclose_nolock
@
cdecl _fclose_nolock(ptr) MSVCRT_
_fclose_nolock
@ cdecl _fcloseall() MSVCRT__fcloseall
@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt
@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s
...
...
dlls/msvcr90/msvcr90.spec
View file @
9fda14a9
...
...
@@ -443,7 +443,7 @@
@ cdecl _execvpe(str ptr ptr)
@ cdecl _exit(long) MSVCRT__exit
@ cdecl _expand(ptr long)
@
stub
_fclose_nolock
@
cdecl _fclose_nolock(ptr) MSVCRT_
_fclose_nolock
@ cdecl _fcloseall() MSVCRT__fcloseall
@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt
@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s
...
...
dlls/msvcrt/file.c
View file @
9fda14a9
...
...
@@ -3373,9 +3373,22 @@ int CDECL MSVCRT__putw(int val, MSVCRT_FILE* file)
*/
int
CDECL
MSVCRT_fclose
(
MSVCRT_FILE
*
file
)
{
int
r
,
flag
;
int
r
et
;
MSVCRT__lock_file
(
file
);
ret
=
MSVCRT__fclose_nolock
(
file
);
MSVCRT__unlock_file
(
file
);
return
ret
;
}
/*********************************************************************
* _fclose_nolock (MSVCRT.@)
*/
int
CDECL
MSVCRT__fclose_nolock
(
MSVCRT_FILE
*
file
)
{
int
r
,
flag
;
flag
=
file
->
_flag
;
MSVCRT_free
(
file
->
_tmpfname
);
file
->
_tmpfname
=
NULL
;
...
...
@@ -3386,9 +3399,7 @@ int CDECL MSVCRT_fclose(MSVCRT_FILE* file)
MSVCRT_free
(
file
->
_base
);
r
=
MSVCRT__close
(
file
->
_file
);
file
->
_flag
=
0
;
MSVCRT__unlock_file
(
file
);
return
((
r
==
-
1
)
||
(
flag
&
MSVCRT__IOERR
)
?
MSVCRT_EOF
:
0
);
}
...
...
dlls/msvcrt/msvcrt.h
View file @
9fda14a9
...
...
@@ -926,6 +926,7 @@ MSVCRT_ulong* __cdecl MSVCRT___doserrno(void);
int
*
__cdecl
MSVCRT__errno
(
void
);
char
*
__cdecl
MSVCRT_getenv
(
const
char
*
);
int
__cdecl
MSVCRT_fclose
(
MSVCRT_FILE
*
);
int
__cdecl
MSVCRT__fclose_nolock
(
MSVCRT_FILE
*
);
void
__cdecl
MSVCRT_terminate
(
void
);
MSVCRT_FILE
*
__cdecl
MSVCRT__iob_func
(
void
);
MSVCRT_clock_t
__cdecl
MSVCRT_clock
(
void
);
...
...
include/msvcrt/stdio.h
View file @
9fda14a9
...
...
@@ -129,6 +129,7 @@ int __cdecl _vsprintf_p_l(char*,size_t,const char*,_locale_t,__ms_va_list);
void
__cdecl
clearerr
(
FILE
*
);
int
__cdecl
fclose
(
FILE
*
);
int
__cdecl
_fclose_nolock
(
FILE
*
);
int
__cdecl
feof
(
FILE
*
);
int
__cdecl
ferror
(
FILE
*
);
int
__cdecl
fflush
(
FILE
*
);
...
...
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