cvs: php-src /ext/dba/tests dba_handler.inc

From: Date: Thu, 19 Aug 2004 08:04:22 +0000
Subject: cvs: php-src /ext/dba/tests dba_handler.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-28370@lists.php.net to get a copy of this message
helly Thu Aug 19 04:04:22 2004 EDT Modified files: /php-src/ext/dba/tests dba_handler.inc Log: Fix issue in test http://cvs.php.net/diff.php/php-src/ext/dba/tests/dba_handler.inc?r1=1.12&r2=1.13&ty=u Index: php-src/ext/dba/tests/dba_handler.inc diff -u php-src/ext/dba/tests/dba_handler.inc:1.12 php-src/ext/dba/tests/dba_handler.inc:1.13 --- php-src/ext/dba/tests/dba_handler.inc:1.12 Thu Dec 18 15:10:24 2003 +++ php-src/ext/dba/tests/dba_handler.inc Thu Aug 19 04:04:20 2004 @@ -74,6 +74,9 @@ dba_close($dba_reader); } if (($db_file = dba_popen($db_filename, 'r'.($handler!='gdbm'?'-':''), $handler))!==FALSE) { + if ($handler == 'dbm') { + dba_close($db_file); + } } if ($lock_flag == '') {

« previous php.cvs (#28370) next »