From 797e1196827b35580d564b2353a57a66c66d1bae Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 4 Jan 2017 03:48:55 +0100 Subject: [PATCH] fix open flags --- win32/build/confutils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1