primUntrustedUserDirectory trouble of new mac carbon VM

Tetsuya HAYASHI tetha at st.rim.or.jp
Sun Jan 21 01:26:47 UTC 2007


Thanks !!

On 2007/01/21, at 3:23, John M McIntosh wrote:

> As you noticed the fix is to remove the fixPath() for untrustedUserDirectory, I"ll make a new VM later on the weekend.
>
> On Jan 20, 2007, at 4:28 AM, Tetsuya HAYASHI wrote:
>
>> Once again,
>>
>> On 2007/01/18, at 19:20, Tetsuya HAYASHI wrote:
>>
>>> 1) global variable gSqueakUntrustedDirectoryName is set as
>>>     '/Users/tetha/Library/Preferences/Internet/My Squeak'
>>> it lacks the last delimiter char '/'.
>>>
>>> 2) ioInitSecurity() in SecurityPlugin module
>>
>> the right module name is sqMacSecurity.c, sorry.
>>
>>>     strcpy untrustedUserDirectory from gSqueakUntrustedDirectoryName
>>> but, after this,
>>>
>>> 3) fixPath()
>>>     this functions split the last component 'My Squeak', because pathname lacks the last delimiter, so it is fixed as '/Users/tetha/Library/Preferences/Internet'
>>
>> fixPath() is necessary in this case ?
>> it is already fixed by stringByExpandingTildeInPath.
>>
>> --
>> Tetsuya HAYASHI
>> tetha at st.rim.or.jp, tetha at mac.com
>>
>>
>
> --
> ===========================================================================
> John M. McIntosh <johnmci at smalltalkconsulting.com>
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ===========================================================================
>
>
>
>
>




More information about the Squeak-dev mailing list