cvs: pear /PHP_Compat/Compat/Function md5_file.php

From: Date: Tue, 22 Nov 2005 08:29:21 +0000
Subject: cvs: pear /PHP_Compat/Compat/Function md5_file.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-36443@lists.php.net to get a copy of this message
aidan Tue Nov 22 03:29:21 2005 EDT Modified files: /pear/PHP_Compat/Compat/Function md5_file.php Log: Fixes bug (#5469) http://cvs.php.net/diff.php/pear/PHP_Compat/Compat/Function/md5_file.php?r1=1.2&r2=1.3&ty=u Index: pear/PHP_Compat/Compat/Function/md5_file.php diff -u pear/PHP_Compat/Compat/Function/md5_file.php:1.2 pear/PHP_Compat/Compat/Function/md5_file.php:1.3 --- pear/PHP_Compat/Compat/Function/md5_file.php:1.2 Tue Jan 25 23:59:48 2005 +++ pear/PHP_Compat/Compat/Function/md5_file.php Tue Nov 22 03:29:19 2005 @@ -15,7 +15,7 @@ // | Authors: Aidan Lister <aidan@php.net> | // +----------------------------------------------------------------------+ // -// $Id: md5_file.php,v 1.2 2005/01/26 04:59:48 aidan Exp $ +// $Id: md5_file.php,v 1.3 2005/11/22 08:29:19 aidan Exp $ /** @@ -25,7 +25,7 @@ * @package PHP_Compat * @link http://php.net/md5_file * @author Aidan Lister <aidan@php.net> - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * @since PHP 4.2.0 * @require PHP 4.0.0 (user_error) */ @@ -70,6 +70,7 @@ fclose($fh); // Return + $data = md5($data); if ($raw_output === true) { $data = pack('H*', $data); }

« previous php.pear.cvs (#36443) next »