From: Pierre Joye Date: Wed, 28 May 2003 01:52:45 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96559baede07b758891ecd62f950087dcd5c05c8;p=php MFH --- diff --git a/pear/PEAR/Registry.php b/pear/PEAR/Registry.php index 68a33b36e7..97102eb636 100644 --- a/pear/PEAR/Registry.php +++ b/pear/PEAR/Registry.php @@ -404,7 +404,7 @@ class PEAR_Registry extends PEAR if (PEAR::isError($e = $this->_lock(LOCK_EX))) { return $e; } - $fp = $this->_openPackageFile($package, 'w'); + $fp = $this->_openPackageFile($package, 'wb'); if ($fp === null) { $this->_unlock(); return false;