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

Bug #15902 mkdir should do that recursive
Submitted: 2009-02-16 13:13 UTC
From: cweiske Assigned: kguest
Status: Closed Package: Cache
PHP Version: 5.2.8 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2009-02-16 13:13 UTC] cweiske (Christian Weiske)
Description: ------------ mkdir() in pear/Cache/Container/file.php:120 fails when the parent directory does not exist. Using recursive mkdir (third parameter true) solves that. Test script: --------------- Expected result: ---------------- Actual result: --------------

Comments

 [2009-02-16 13:14 UTC] cweiske (Christian Weiske)
the third parameter is from php 5.0.0 only, so this needs to be version-dependent.
 [2010-01-23 08:47 UTC] doconnor (Daniel O'Connor)
If it's PHP4, won't it just ignore the third param? (ie: not fix the bug, but certainly not break anything else?)
 [2010-01-23 08:47 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Feedback
Thank you for taking the time to report a problem with the package. This problem may have been already fixed by a previous change that is in the CVS of the package. Please log into CVS with: cvs -d :pserver:cvsread@cvs.php.net:/repository login and check out the CVS repository of this package and upgrade cvs -d :pserver:cvsread@cvs.php.net:/repository co pear/Cache pear upgrade pear/Cache/package2.xml or pear upgrade pear/Cache/package.xml If you are able to reproduce the bug with the latest CVS, please change the status back to "Open". Again, thank you for your continued support of PEAR.
 [2018-04-19 12:36 UTC] ashnazg (Chuck Burgess)
-Status: Feedback +Status: Assigned -Assigned To: +Assigned To: kguest
Hey Ken, this one should be easy, since no more PHP4 to worry about.
 [2018-04-19 13:07 UTC] kguest (Ken Guest)
-Status: Assigned +Status: Closed
This bug has been fixed in SVN. 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.