Issue 3536 in pharo: ZipArchive>>extractAllTo: leaves temporary directory on Mac

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 3536 in pharo: ZipArchive>>extractAllTo: leaves temporary directory on Mac

pharo
Status: New
Owner: ----

New issue 3536 by sean.p.denigris: ZipArchive>>extractAllTo: leaves  
temporary directory on Mac
http://code.google.com/p/pharo/issues/detail?id=3536

Pharo image: Pharo1.2beta Latest update: #12300

Steps to reproduce:
1. archive := ZipArchive new readFrom: '/Users/sean/Squeak/Fresh  
Images/PharoTrunk.zip'.
archive extractAllTo: (FileDirectory on: '/Users/sean/Squeak/Fresh  
Images/a').

A temporary directory named __MACOSX will exist.


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3536 in pharo: ZipArchive>>extractAllTo: leaves temporary directory on Mac

pharo

Comment #1 on issue 3536 by [hidden email]:  
ZipArchive>>extractAllTo: leaves temporary directory on Mac
http://code.google.com/p/pharo/issues/detail?id=3536

Fix  
attached "Issue-3536-ZipArchive-leaves-temporary-directory-on-Mac-SeanDeNigris.cs".

The problem was that Mac OS X adds metadata to archives. ZipArchive now  
skips those files and directories when extracting.

Sean

Attachments:
        Issue-3536-ZipArchive-leaves-temporary-directory-on-Mac-SeanDeNigris.cs  
1.5 KB