Index: DependencyDB.php =================================================================== RCS file: /repository/php-src/pear/PEAR/DependencyDB.php,v retrieving revision 1.2 diff -u -r1.2 DependencyDB.php --- DependencyDB.php 5 Oct 2003 16:42:18 -0000 1.2 +++ DependencyDB.php 5 Dec 2003 06:32:26 -0000 @@ -152,11 +152,13 @@ function &_getDepDB() { if (!$fp = fopen($this->depdb_file, 'r')) { - return $this->raiseError("Could not open dependencies file `".$this->depdb_file."'"); + $err = $this->raiseError('Could not open dependencies file `' + . $this->depdb_file . "'"); + return $err; } - $data = fread($fp, filesize($this->depdb_file)); + $data = unserialize(fread($fp, filesize($this->depdb_file))); fclose($fp); - return unserialize($data); + return $data; } // }}}