summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2004-05-16 15:43:30 +0000
committerPierre Joye <pajoye@php.net>2004-05-16 15:43:30 +0000
commit915e9a555eb59fcb51018ad9a556996ef52492c9 (patch)
treee790afceb2406c9ef177ff2bcd1516df86b89c39 /pear
parentd049b24dfd22baefcc2bd1d57fb6d625b4cafafd (diff)
downloadphp-git-915e9a555eb59fcb51018ad9a556996ef52492c9.tar.gz
- Fix #1329, closedir on exit (kameshj at fastmail dot fm)
Diffstat (limited to 'pear')
-rw-r--r--pear/PEAR/Command.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/pear/PEAR/Command.php b/pear/PEAR/Command.php
index 518bd12eba..49bb72b24c 100644
--- a/pear/PEAR/Command.php
+++ b/pear/PEAR/Command.php
@@ -280,6 +280,7 @@ class PEAR_Command
$GLOBALS['_PEAR_Command_shortcuts'][$shortcut] = $command;
}
}
+ @closedir($dp);
return true;
}