com php-src: fix open flags: win32/build/confutils.js
| From: | Anatol Belski | Date: | Wed, 04 Jan 2017 11:18:54 +0000 |
| Subject: | com php-src: fix open flags: win32/build/confutils.js | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96538@lists.php.net to get a copy of this message | ||
Commit: 797e1196827b35580d564b2353a57a66c66d1bae
Author: Anatol Belski <ab@php.net> Wed, 4 Jan 2017 03:48:55 +0100
Parents: b9961182bc2f8b290e2b3c4a67a6a5685b09233f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=797e1196827b35580d564b2353a57a66c66d1bae
Log:
fix open flags
Changed paths:
M win32/build/confutils.js
Diff:
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index 6c022b3..4bd46ad 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);