[BUG] ZipTool problems
Ned Konz
ned at bike-nomad.com
Wed Dec 5 17:54:05 UTC 2001
On Tuesday 04 December 2001 12:49 am, Mike Rutenberg wrote:
> I was just trying to use the ZipTool to open the Windows VM source code
> zip file (Squeak3.1Alpha6Src.zip) and ran into two problems. I am
> running on Windows 2000 using the Windows 31alpha6 VM, and the most
> recent alpha image.
I don't really have time to investigate this right now, as I have a deadline
that is already in the past. However, here is some information:
> (1) ZipTool can not open a readonly zip file. If I try, I get a walk
> back. I made the zip file writable and was able to move on.
This is the easy one, and can be fixed by changing the open from
oldFileNamed: to readOnlyFileNamed: in ZipArchive>>readFrom:
> (2) When I extract this zip file, I get a number of top level
> directories, but all of the files get written into the top level
> directory with their pathnames embedded into each individual file name.
> A partial file list directory is included below.
Yes, I need to change the $/ to $\ for Windows (or to $: for the Mac). I'll
do this soon.
I did find a more serious problem when writing the same file back out: it
seems to get stuck and/or write extra bytes to the file. Haven't looked into
this yet.
Anyone want to look at this last problem?
--
Ned Konz
currently: Stanwood, WA
email: ned at bike-nomad.com
homepage: http://bike-nomad.com
More information about the Squeak-dev
mailing list
|