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

Bug #20065 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  


 [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