PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PEAR » PEAR_PackageFileManager » Bug #2573

Documentation suggest wrong plattform pattern

Details

Submitted2004-10-20 11:38 UTC
Frompear at matt dot someon dot com
Assignedcellog
StatusClosed
PackagePEAR_PackageFileManager
PHP VersionIrrelevant
OSOS X
Roadmaps(Not assigned)

Comments

[2004-10-20 11:38 UTC] pear at matt dot someon dot com

Description:
------------
The Documentation at http://pear.php.net/manual/en/
package.pear.pear-packagefilemanager.pear-
packagefilemanager.addplatformexception.php

suggests:

"To select non-windows, use (*ix|*ux)"

This leads to errors on Mac OS X/dawin when installing
such a file:

skipped pear/xxx (meant for (*ix|*ux), we are darwin
-7.5.0-Macintosh)
skipped pear/xxx.bat (meant for windows, we are darwin
-7.5.0-Macintosh)

The first file is not installed though it should be
since OX X is a non-windows system.

Expected result:
----------------
The Documentation should read:

""To select non-windows, use (*ix|*ux|darwin*)"

Note: this then works on OS X. Not tested on more
esoteric plattforms.