com php-src: Fix broken test include: ext/dba/tests/dba_handl er.inc

From: Date: Thu, 18 Aug 2016 15:53:57 +0000
Subject: com php-src: Fix broken test include: ext/dba/tests/dba_handl er.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-93978@lists.php.net to get a copy of this message
Commit: bc1214f25e7c9525336b34e09aec1f1db82b9894 Author: Christoph M. Becker <cmbecker69@gmx.de> Thu, 18 Aug 2016 17:53:57 +0200 Parents: 761d2f629b7a08d6532c74bd077a6ee32bca3a9c Branches: PHP-5.6 PHP-7..0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bc1214f25e7c9525336b34e09aec1f1db82b9894 Log: Fix broken test include To avoid that the test stalls, we must always use t mode. Changed paths: M ext/dba/tests/dba_handler.inc Diff: diff --git a/ext/dba/tests/dba_handler.inc b/ext/dba/tests/dba_handler..inc index a950e90..0f348bc 100644 --- a/ext/dba/tests/dba_handler.inc +++ b/ext/dba/tests/dba_handler.inc @@ -40,7 +40,7 @@ do { } if ($handler != 'cdb') { $db_writer = dba_open($db_filename, 'c'.$lock_flag, $handler); - if (($dba_reader = @dba_open($db_filename, 'r'.$lock_flag.($lock_flag ? 't' : ''), $handler))===false) { + if (($dba_reader = @dba_open($db_filename, 'r'.$lock_flag.'t', $handler))===false) { echo "Read during write: not allowed\n"; } else { echo "Read during write: allowed\n";

« previous php.cvs (#93978) next »