@ -276,7 +276,7 @@ class PEAR_Registry extends PEAR
}
$open_mode = 'w';
// XXX People reported problems with LOCK_SH and 'w'
if ($mode === LOCK_SH) {
if ($mode === LOCK_SH || $mode === LOCK_UN) {
if (@!is_file($this->lockfile)) {
touch($this->lockfile);
@ -70,6 +70,7 @@ PEAR Installer:
* Fixed optional dependencies in Dependency.php
* Fix #25322 - bad md5sum should be fatal error
* Package uninstall now also removes empty directories
* Fixed locking problems for reading commands (pear list, pear info)
OS_Guess Class: