[BUG] primPathNameDelimiter on Mac OS X varies by VM *and* Box
David A. Smith
davidasmith at bellsouth.net
Wed Jan 21 00:41:11 UTC 2004
This may have something to do with a bug that David Reed was finding with
finding files (though his issue may be more related to dealing with cases
on Linux). I will review and post.
At 07:11 PM 1/20/2004, you wrote:
>Not a bug in primPathNameDelimiter.
>Was a bug in TLoad3DSMax
>After talking with John and Ian it was clear that the VMs where processing
>as designed and it forced me to do a more thorough job of debugging. The
>actual problem was a hardcoded comparison in TLoad3DSMax searching for \
>and : but not /. Still baffles me that it actually worked on Windows and
>Unix but not on Macintosh. I modified the methods to use the
>pathNameDelimiter instead of the constant and now it works with both VMs
>A changeset is attached.
>On Jan 17, 2004, at 1:07 PM, Jack Keel wrote:
>>I'm having problems that seem related to an invalid path name delimiter
>>being returned by primPathNameDelimiter on several VMs. I did the
>>following test on my G3 Panther box changing only the VM between tests.
>>Using Squeak 3.5.1Beta4.app, Squeak 3.7.1Beta1.app, Squeak
>>3.2.8Beta9.app, Squeak 3.6.1Beta5.app I get the following
>>FileDirectory pathNameDelimiter ---> $:
>>FileDirectory primPathNameDelimiter ---> $:
>>Smalltalk platformName. ---> 'Mac OS'
>>Using Squeak-3.6g-2.app I get what I expected.
>>FileDirectory pathNameDelimiter ---> $/
>>FileDirectory primPathNameDelimiter ---> $/
>>Smalltalk platformName. ---> 'unix'
>>Curiously, the Squeak-3.6g-2.app returns the $: on a G4 Jaguar laptop
>>(10.2.8 without the developer tools) and works okay on a G4 laptop
>>(10.2.6 with Developer) and works on a G4 laptop with Panther. On yet
>>another old G4 tower with 10.2.8 it fails with a "does not understand"
>>(i.e. an entirely different error).
>>So I have yet to find a VM that works consistently on all my OS X
>>platforms. And since Squeak-3.6g-2.app doesn't have sound my application
>>is disabled even on the ones that know what the proper delimiter is.
More information about the Squeak-dev