primUntrustedUserDirectory trouble of new mac carbon VM
Tetsuya HAYASHI
tetha at st.rim.or.jp
Sat Jan 20 12:28:32 UTC 2007
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
More information about the Squeak-dev
mailing list
|