[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690

Alexandre Julliard julliard at winehq.org
Sun Jun 17 20:02:05 UTC 2012


The following commit has been merged in the wheezy branch:
commit 8bc4f260ac395b4af543b4e6a3f7e79326abb341
Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date:   Mon Mar 12 21:14:07 2012 +0900

    msvcrt: Add support for _flushall to clear all input buffer.
    (cherry picked from commit cf7479ca85924eb754857ea2ff8509606f10c1d6)

diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index b057f9e..1c56eee 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -780,7 +780,7 @@ static int msvcrt_flush_all_buffers(int mask)
  */
 int CDECL MSVCRT__flushall(void)
 {
-    return msvcrt_flush_all_buffers(MSVCRT__IOWRT);
+    return msvcrt_flush_all_buffers(MSVCRT__IOWRT | MSVCRT__IOREAD);
 }
 
 /*********************************************************************
@@ -789,7 +789,7 @@ int CDECL MSVCRT__flushall(void)
 int CDECL MSVCRT_fflush(MSVCRT_FILE* file)
 {
     if(!file) {
-        MSVCRT__flushall();
+        msvcrt_flush_all_buffers(MSVCRT__IOWRT);
     } else if(file->_flag & MSVCRT__IOWRT) {
         int res;
 

-- 
Debian Wine packaging



More information about the pkg-wine-party mailing list