From: Anatol Belski Date: Wed, 4 Jan 2017 02:48:55 +0000 (+0100) Subject: fix open flags X-Git-Tag: php-7.2.0alpha1~657 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=797e1196827b35580d564b2353a57a66c66d1bae;p=php fix open flags --- diff --git a/win32/build/confutils.js b/win32/build/confutils.js index 6c022b3c5a..4bd46ad976 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -3299,7 +3299,7 @@ function ADD_MAKEFILE_FRAGMENT(src_file) if (FSO.FileExists(fn_in)) { var h_in, h_out; var create_out_fl = !FSO.FileExists(PHP_MAKEFILE_FRAGMENTS); - var open_flags = create_out_fl ? 8 : 2; + var open_flags = create_out_fl ? 2 : 8; h_in = FSO.OpenTextFile(fn_in, 1); h_out = FSO.OpenTextFile(PHP_MAKEFILE_FRAGMENTS, open_flags, create_out_fl);