Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #11481 PEAR_PackageFile_Parser_v1 skips single-char directories
Submitted: 2007-06-29 12:17 UTC
From: pmjones Assigned: pmjones
Status: Closed Package: PEAR
PHP Version: 5.2.1 OS: Mac OS X
Roadmaps: 1.6.2    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 50 - 38 = ?

 
 [2007-06-29 12:17 UTC] pmjones (Paul Jones)
Description: ------------ Package file v1-versus-v2 validation fails when the file list includes directories with single-character names ("a/", "b/", etc). A directory such as "foo/b/bar" is incorrectly saved in the file list as "foo//bar". To correct this, change line 170, PEAR_PackageFile_Parser_v1::_element_start_1_0(), to use "===" instead of "==".

Comments

 [2007-08-18 21:21 UTC] cellog (Greg Beaver)
wrong package, moving to PEAR
 [2007-08-18 21:28 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.