com php-src: Remove some RETURN_FALSE on exception: e xt/standard/proc_open.c
| From: | Nikita Popov | Date: | Tue, 29 Oct 2019 12:36:03 +0000 |
| Subject: | com php-src: Remove some RETURN_FALSE on exception: e xt/standard/proc_open.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-109116@lists.php.net to get a copy of this message | ||
Commit: 817fbe8186d3b3a908a3283f9656437f7fa2b229
Author: Nikita Popov <nikita.ppv@gmail.com> Tue, 29 Oct 2019 13:36:03 +0100
Parents: 6719d3e7184e712aceb00750b1befc5701af7c1b
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=817fbe8186d3b3a908a3283f9656437f7fa2b229
Log:
Remove some RETURN_FALSE on exception
Changed paths:
M ext/standard/proc_open.c
Diff:
diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c
index 166b4b03981..4906b3f8283 100644
--- a/ext/standard/proc_open.c
+++ b/ext/standard/proc_open.c
@@ -245,7 +245,7 @@ PHP_FUNCTION(proc_terminate)
ZEND_PARSE_PARAMETERS_END();
if ((proc = (struct php_process_handle *)zend_fetch_resource(Z_RES_P(zproc), "process",
le_proc_open)) == NULL) {
- RETURN_FALSE;
+ return;
}
#ifdef PHP_WIN32
@@ -276,7 +276,7 @@ PHP_FUNCTION(proc_close)
ZEND_PARSE_PARAMETERS_END();
if ((proc = (struct php_process_handle *)zend_fetch_resource(Z_RES_P(zproc), "process",
le_proc_open)) == NULL) {
- RETURN_FALSE;
+ return;
}
FG(pclose_wait) = 1;
@@ -306,7 +306,7 @@ PHP_FUNCTION(proc_get_status)
ZEND_PARSE_PARAMETERS_END();
if ((proc = (struct php_process_handle *)zend_fetch_resource(Z_RES_P(zproc), "process",
le_proc_open)) == NULL) {
- RETURN_FALSE;
+ return;
}
array_init(return_value);