#37 JlCompress::compressDir() discards empty folders

v1.0_(example)
closed-fixed
5
2014-01-26
2013-03-28
No

When using JlCompress::compressDir() to compress a directory, empty directories within that directory are not compressed.

Example:
Create the following directory structure:
A
|-B
|-C

where A,B,C are empty directories

Try to compress A using JlCompress::compressDir()

Expected: A ZIP archive which when extracted will reproduce the above structure.

What actually happens: A empty ZIP archive is created

Discussion

  • Fixed in r171 (SVN trunk)

     
    • status: open --> pending-fixed
    • milestone: -->
     
  • Confirming that is fixed.

    Thank you very much!

     
    • status: pending-fixed --> closed-fixed
    • Group: --> v1.0_(example)