Uwe Bonnes : msvcrt: xxopen() accepts spaces in the mode string.

Alexandre Julliard julliard at winehq.org
Mon Jan 18 10:58:54 CST 2010


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

Author: Uwe Bonnes <bon at elektron.ikp.physik.tu-darmstadt.de>
Date:   Sat Jan 16 17:21:48 2010 +0100

msvcrt: xxopen() accepts spaces in the mode string.

---

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

diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index df42d47..a9678ed 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -1044,6 +1044,7 @@ static int msvcrt_get_flags(const MSVCRT_wchar_t* mode, int *open_flags, int* st
       *open_flags &= ~MSVCRT__O_BINARY;
       break;
     case '+':
+    case ' ':
       break;
     default:
       FIXME(":unknown flag %c not supported\n",mode[-1]);




More information about the wine-cvs mailing list