SPL assumes HAVE_GLOB is defined

Bug #53914 SPL assumes HAVE_GLOB is defined
Submitted: 2011-02-02 23:58 UTC Modified: 2011-02-04 11:50 UTC
From: sixd@php.net Assigned: aharvey (profile)
Status: Closed Package: SPL related
PHP Version: 5.3.5 OS: All
Private report: No CVE-ID: None

 [2011-02-02 23:58 UTC] sixd@php.net

Description:
------------
SPL should not assume HAVE_GLOB is defined. See bug #53913 for
background.

This bug has some SPL changes that allow PHP to link.  A patch against
5.3 for standard/basic_functions.c and streams/plain_wrapper.c is
attached to bug #53913.  Patches from both bugs are required.
Props to Johannes for initiating the patches.

To test, configure PHP and then #undef HAVE_GLOB in main/php_config.h


Patches

glob_spl.diff.txt (last revision 2011-02-02 22:58 UTC by sixd)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2011-02-04 10:52 UTC] aharvey@php.net

-Status: Open +Status: Assigned -Assigned To: +Assigned To: aharvey

 [2011-02-04 11:50 UTC] aharvey@php.net

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Thanks for the patches, Chris!