* Bug #293 [Patch] PEAR_Error not calling static method callbacks for error-handler
* Bug #324 pear -G gives Fatal Error (PHP-GTK not installed, but error is at engine level)
* Moved download code into its own class
-* Fully unit tested the installer and downloader, plus PEAR_Common
+* Fully unit tested the installer, packager, downloader, and PEAR_Common
</notes>
<provides type="class" name="OS_Guess" />
<deps>
<dep type="php" rel="ge" version="4.1"/>
<dep type="pkg" rel="ge" version="1.1">Archive_Tar</dep>
- <dep type="pkg" rel="ge" version="2.0">Console_Getopt</dep>
+ <dep type="pkg" rel="ge" version="1.2">Console_Getopt</dep>
<dep type="pkg" rel="ge" version="1.0.4">XML_RPC</dep>
<dep type="ext" rel="has" optional="yes">xmlrpc</dep>
<dep type="ext" rel="has">xml</dep>
$argv = Console_Getopt::readPHPArgv();
$progname = basename($argv[0]);
array_shift($argv);
-$options = Console_Getopt::getopt($argv, "c:C:d:D:Gh?sSqu:vV");
+$options = Console_Getopt::getopt2($argv, "c:C:d:D:Gh?sSqu:vV");
if (PEAR::isError($options)) {
usage($options);
}
$short_args = $long_args = null;
PEAR_Command::getGetoptArgs($command, $short_args, $long_args);
array_shift($options[1]);
- if (PEAR::isError($tmp = Console_Getopt::getopt($options[1], $short_args, $long_args))) {
+ if (PEAR::isError($tmp = Console_Getopt::getopt2($options[1], $short_args, $long_args))) {
break;
}
list($tmpopt, $params) = $tmp;