=?UTF-8?Q?Iv=C3=A1n=20Matellanes=20?=: msvcrt: Avoid locking the file in _fclose_nolock.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Nov 4 09:19:31 CST 2014
Module: wine
Branch: master
Commit: 20e0a6f20d094a0a499422a9579597e20eeea722
URL: http://source.winehq.org/git/wine.git/?a=commit;h=20e0a6f20d094a0a499422a9579597e20eeea722
Author: Iván Matellanes <matellanesivan at gmail.com>
Date: Mon Nov 3 22:40:45 2014 +0100
msvcrt: Avoid locking the file in _fclose_nolock.
---
dlls/msvcrt/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index fe3525c..295cbdc 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -3428,7 +3428,7 @@ int CDECL MSVCRT__fclose_nolock(MSVCRT_FILE* file)
file->_tmpfname = NULL;
/* flush stdio buffers */
if(file->_flag & MSVCRT__IOWRT)
- MSVCRT_fflush(file);
+ MSVCRT__fflush_nolock(file);
if(file->_flag & MSVCRT__IOMYBUF)
MSVCRT_free(file->_base);
More information about the wine-cvs
mailing list