com web/rmtools: Fix function call: include/BuildVC.php
| From: | Anatol Belski | Date: | Wed, 04 Apr 2018 15:27:19 +0000 |
| Subject: | com web/rmtools: Fix function call: include/BuildVC.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26901@lists.php.net to get a copy of this message | ||
Commit: 7d3105f56eec32a53c0c5cc8ef8214cfcbac6b85
Author: Anatol Belski <ab@php.net> Wed, 4 Apr 2018 17:27:19 +0200
Parents: 2e30262b0d1b2cda3f309a1486f63ff2d2f4b7b2
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=7d3105f56eec32a53c0c5cc8ef8214cfcbac6b85
Log:
Fix function call
Changed paths:
M include/BuildVC.php
Diff:
diff --git a/include/BuildVC.php b/include/BuildVC.php
index 1bf89af..ad829f2 100644
--- a/include/BuildVC..php
+++ b/include/BuildVC.php
@@ -127,7 +127,7 @@ class BuildVC {
function pgoInitLock()
{
if (is_null($this->pgo_init_lock_fd)) {
- $this->pgo_init_lock_fd = fopen(TMP_DIR . DIRECTORY_SEPARATOR .
"sdk_pgo_init.lock");
+ $this->pgo_init_lock_fd = fopen(TMP_DIR . DIRECTORY_SEPARATOR .
"sdk_pgo_init.lock", "wb");
flock($this->pgo_init_lock_fd, LOCK_EX);
}
}