From: Tomas V.V.Cox Date: Mon, 1 Apr 2002 19:17:59 +0000 (+0000) Subject: typo X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~924 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=750ca4295e711a78c9dfbbbecfa992e52038c6e6;p=php typo --- diff --git a/pear/PEAR/Command/Install.php b/pear/PEAR/Command/Install.php index a458f69a79..cb75a30592 100644 --- a/pear/PEAR/Command/Install.php +++ b/pear/PEAR/Command/Install.php @@ -77,7 +77,7 @@ class PEAR_Command_Install extends PEAR_Command_Common $ret[1] = "{$ret[1]}\n" . " -f forces the installation of the package\n". " when it is already installed\n". - " -n do not take care package dependencies"; + " -n do not take care of package dependencies"; return $ret; } diff --git a/pear/PEAR/Packager.php b/pear/PEAR/Packager.php index f21192dac7..e1a6f82312 100644 --- a/pear/PEAR/Packager.php +++ b/pear/PEAR/Packager.php @@ -145,11 +145,13 @@ class PEAR_Packager extends PEAR_Common } if (!function_exists('md5_file')) { - function &md5_file($file) { + function md5_file($file) { if (!$fd = @fopen($file, 'r')) { return false; } - return md5(fread($fd, filesize($file))); + $md5 = md5(fread($fd, filesize($file))); + fclose($fd); + return $md5; } }