From 7654d95462cb1c1d921d0344144f5a9c50d9af3f Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Fri, 25 Jan 2013 11:39:05 +0100 Subject: [PATCH] msvcrt: Added N flag support to fopen. --- dlls/msvcrt/file.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c index ccfff83ac6f..d80a99a2421 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':