primUntrustedUserDirectory trouble of new mac carbon VM
John M McIntosh
johnmci at smalltalkconsulting.com
Sat Jan 20 18:23:02 UTC 2007
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
|