Chris Nandor wrote on 01.1.25 9:26 AM: 
>>I guess that the later is expected in building XS, and thus MSL
>>lib is not appropriate?  Am I correct?  If so, what lib is
>>required?
>
>My guess is that maybe you should be using GUSI (version 1, since that is
>what current MacPerl is built with; the next MacPerl is GUSI 2) instead of
>MSL for fopen().

I tried the Version 2 and found;

> // While earlier versions of GUSI maintained a notion of "current directory" that
> // was independent of the HFS default directory, there is no such distinction anymore
> // in GUSI 2. [[SetDefaultDirectory]] sets the default directory to [[vRefNum, 
>dirID]].
> // [[GetDefaultDirectory]] sets [[vRefNum,dirID]] to the default directory. Neither
> // routine affects the [[name]]. [[GetVolume]] gets the named or indexed volume.

it seems like we need version 1 to implement compatible 
definition of 'current directory.'

--
Takeshi

Reply via email to