com php-src: The test self should be fixed(maybe relates to env?): ext/readline/readline.c

From: Date: Mon, 29 Feb 2016 07:19:18 +0000
Subject: com php-src: The test self should be fixed(maybe relates to env?): ext/readline/readline.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91181@lists.php.net to get a copy of this message
Commit: b79b036a312da2e728901356935636365bdce8fe Author: Xinchen Hui <laruence@gmail.com> Mon, 29 Feb 2016 15:19:18 +0800 Parents: d0b3a72cea048a1d1b2a21ba10f3c9e40f37754a Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b79b036a312da2e728901356935636365bdce8fe Log: The test self should be fixed(maybe relates to env?) Revert "Fixed test ext/readline/tests/readline_read_history_error_001.phpt" This reverts commit 69e26f9f8fb444fab29bba0fc99fab0cf6f80dd4. Changed paths: M ext/readline/readline.c Diff: diff --git a/ext/readline/readline.c b/ext/readline/readline.c index 7ebc9d4..1d4427f 100644 --- a/ext/readline/readline.c +++ b/ext/readline/readline.c @@ -402,7 +402,7 @@ PHP_FUNCTION(readline_read_history) return; } - if (!arg || php_check_open_basedir(arg) != 0) { + if (arg && php_check_open_basedir(arg)) { RETURN_FALSE; }

« previous php.cvs (#91181) next »