[Vm-dev] Re: working directory under Mac OS X

Stefan Marr squeak at stefan-marr.de
Thu May 26 07:44:10 UTC 2011


Hi Andreas:

On 26 May 2011, at 09:30, Andreas Raab wrote:

> On 5/26/2011 9:16, Stefan Marr wrote:
>> 
>> 
>> However, "FileDirectory default" seems to be very underspecified. (The comment in the method does not tell me what it is supposed to mean.)
> 
> Please let's not confuse matters here: What Eliot has been mentioning is a chdir() call in the VM which I have no opinion about.
Yes, that was clear for me, and that is would I like to see changed.



> What I do have an opinion about is the notion of FileDirectory default which has always been set to the image directory (see FileDirectory class startUp).
The only thing I wanted to mention is, that it deserves to be included in the comment. At least from my perspective.
That is what I meant by being underspecified, thus, perhaps under-commented ;)

Anyway, once the VMs consistently omit the chdir, then a `FileDirectory current` or some other standard way to obtain the current working directory would be helpful. (And a more verbose comment in FileDirectory default would help to distinguish the two).
But perhaps something similar to `FileDirectory current` is already hidden somewhere in the image?

Thanks
Stefan


-- 
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax:   +32 2 629 3525



More information about the Vm-dev mailing list