[squeak-dev] FileDirectory fails
Levente Uzonyi
leves at caesar.elte.hu
Sat Jun 13 15:06:12 UTC 2020
On Sat, 13 Jun 2020, K K Subbu wrote:
> On 13/06/20 7:40 pm, David T. Lewis wrote:
>> Confirmed. It does not seem right to me, but it has been that way
>> for a long time. I just tried it on Squeak 3.8 and got the same
>> results.
>
> Thank you, Dave, for the confirmation.
>
> Paths are used for vm, image, plugins and startup document. The first
> three are handled by platform code, so paths are not an issue.
>
> I was trying out startup documents from a different directory and
> stumbled on these fails :-(.
Why not use FileDirectory default / '.' instead of FileDirectory on: '.'?
The former does what you want, the latter does what's specified by the
tests. After a quick glimpse on #on:'s implementation, my impression is
that it expects an absolute path.
Levente
>
> Regards .. Subbu
>
>
More information about the Squeak-dev
mailing list
|