Piotr Caban : msvcrt: Flush standard streams in flushall function.

Alexandre Julliard julliard at winehq.org
Tue Jan 28 13:33:24 CST 2014


Module: wine
Branch: master
Commit: 6f4a1817099f861e06aa24a59215b361ebf6b79c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6f4a1817099f861e06aa24a59215b361ebf6b79c

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Tue Jan 28 10:08:32 2014 +0100

msvcrt: Flush standard streams in flushall function.

---

 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 908ba26..a78076c 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -860,7 +860,7 @@ static int msvcrt_flush_all_buffers(int mask)
   MSVCRT_FILE *file;
 
   LOCK_FILES();
-  for (i = 3; i < MSVCRT_stream_idx; i++) {
+  for (i = 0; i < MSVCRT_stream_idx; i++) {
     file = msvcrt_get_file(i);
 
     if (file->_flag)




More information about the wine-cvs mailing list