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

Bug #20064 compress directory and generated double,triple file.
Submitted: 2013-09-17 12:27 UTC
From: mansony Assigned:
Status: Open Package: File_Archive (version 1.5.5)
PHP Version: 5.4.3 OS: debian 6.0.6
Roadmaps: (Not assigned)    
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 : 25 + 44 = ?

 
 [2013-09-17 12:27 UTC] mansony (Yuichi Matsuoka)
Description: ------------ /File/Archive/Reader/Directory.php 111?121 $file = readdir($this->directoryHandle); if ($file == '.' || $file == '..') { continue; } if ($file === false) { return false; } if ($this->source !== null) { $this->source->close(); } Test script: --------------- $file = readdir($this->directoryHandle); if ($file == '.' || $file == '..') { continue; } if ($file === false) { return false; } if ($this->source !== null) { $this->source->close(); } Expected result: ---------------- I expect to generate a zip file include one directory and one file.

Comments