From 96559baede07b758891ecd62f950087dcd5c05c8 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Wed, 28 May 2003 01:52:45 +0000 Subject: [PATCH] MFH --- pear/PEAR/Registry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1