[BUG][3.4a] Installation failure on Mac (OSX)

Ned Konz ned at bike-nomad.com
Thu Nov 28 17:02:29 UTC 2002


On Thursday 28 November 2002 03:51 am, Andreas.Raab at gmx.de wrote:

> I just tried to load the REPlugin stuff from SqueakMap on OSX and
> ended up in an endless recursion in
> MacHFSPlusFileDirectory>>assureExistenceOfPath: It looks as if the
> path name is empty, then this
> method will recurse forever. Interestingly, it seems like this is
> triggered by the SARInstaller which (in
> this case) uses a relative path name to extract the contents which
> is not supported by the Mac file dir
> classes. Thus, attempting to do something like
>
>   self zip extractMember:
> 'platforms/Cross/plugins/RePlugin/chartables.c'.
>
> will instantly lock up. There are two solutions I can see: Either
> fix MacFileDir to properly support
> relative path names or fix ZipArchive to specify the *full* path
> name rather than the relative one.

I posted a fix for relative pathnames on the Mac on 23 November, 
called MacRelativeFNFix-nk This makes the Archive stuff work with the 
Mac.

Get it from:
http://swiki.gsug.org:8080/sqfixes/2813.html

It will be in 3.4. Please try it and see if it works. I've tried it on 
MacOSX and Scott's tried it on 8.6 and 9.2.

The idea of ZipArchive using absolute pathnames is a security hole and 
would cause more cross-platform problems than there already are.

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




More information about the Squeak-dev mailing list