diff options
| -rw-r--r-- | pear/PEAR/Registry.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/PEAR/Registry.php b/pear/PEAR/Registry.php index d8bfddcc66..780c3b4ddd 100644 --- a/pear/PEAR/Registry.php +++ b/pear/PEAR/Registry.php @@ -254,7 +254,7 @@ class PEAR_Registry extends PEAR */ function _lock($mode = LOCK_EX) { - if (!strstr(php_uname(), 'Windows 95/98')) { + if (!eregi('Windows 9', php_uname())) { if ($mode != LOCK_UN && is_resource($this->lock_fp)) { // XXX does not check type of lock (LOCK_SH/LOCK_EX) return true; |
