Piotr Caban : msvcrt: Added N flag support to fopen.

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


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

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

msvcrt: Added N flag support to fopen.

---

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

diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index ccfff83..d80a99a 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -1312,6 +1312,9 @@ static int msvcrt_get_flags(const MSVCRT_wchar_t* mode, int *open_flags, int* st
     case 'n':
       *stream_flags &= ~MSVCRT__IOCOMMIT;
       break;
+    case 'N':
+      *open_flags |= MSVCRT__O_NOINHERIT;
+      break;
     case '+':
     case ' ':
     case 'a':




More information about the wine-cvs mailing list