Piotr Caban : msvcrt: Ignore S and R flags in fopen.

Alexandre Julliard julliard at winehq.org
Fri Jan 25 13:31:49 CST 2013


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

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Fri Jan 25 11:38:48 2013 +0100

msvcrt: Ignore S and R flags in fopen.

---

 dlls/msvcrt/file.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index 8a63b51..ccfff83 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -1317,6 +1317,10 @@ static int msvcrt_get_flags(const MSVCRT_wchar_t* mode, int *open_flags, int* st
     case 'a':
     case 'w':
       break;
+    case 'S':
+    case 'R':
+      FIXME("ignoring cache optimization flag: %c\n", mode[-1]);
+      break;
     default:
       MSVCRT_INVALID_PMT(0, MSVCRT_EINVAL);
       return -1;




More information about the wine-cvs mailing list