[BUG][FIX] Zip extract folders

Ned Konz ned at bike-nomad.com
Wed May 14 14:53:53 UTC 2003


On Tuesday 13 May 2003 08:07 pm, Ted Kaehler wrote:
> Zip archives with multiple levels of folders, have file names of
> the form  'george/sam/file.ext'.  When expanding on the Mac, where
> the delimiter is colon and not slash, the folder structure is not
> created.  This fixes that whenever the archive's delimiter is
> different from the default directory delimiter.
>
> Change Set:		Zip-extract-folders-tk
> Date:			24 March 2003
> Author:			Ted Kaehler
>
> (Tested in a standard 3.6alpha)

Hi Ted,

Thanks for working on this.

Where did you notice this problem?
From the Archive Viewer, or SAR extraction, or what?

I'd introduced ZipArchiveMember>>localFileName that is used in several 
places; this changes the standard Zip '/' delimiters to the local 
filesystem delimiters before making local files.

I thought I'd caught all the problem places. Specifically, the 
"extract" operations from the ZipArchiveMember and the ArchiveViewer 
should work.

Or is this in a case where you want to specify the filename in a 
standard way from a script?

Thanks,
-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list