[5/6] msvcrt: Avoid locking the file in _fclose_nolock
Iván Matellanes
matellanesivan at gmail.com
Tue Oct 28 08:43:59 CDT 2014
---
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 05543bd..dfedbc0 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);
--
1.9.1
More information about the wine-patches
mailing list