[Vm-dev] Re: [squeak-dev] Re: [Pharo-project] New Cog VMs available
eliot.miranda at gmail.com
Wed Nov 30 21:41:10 UTC 2011
On Tue, Nov 29, 2011 at 11:54 PM, Alexander Lazarević <laza at blobworks.com>wrote:
> 2011/11/29 Eliot Miranda <eliot.miranda at gmail.com>
>> -1 => executable name
>> -2 .. -n => VM arguments *including* image (if explicitly
> Before we had (at least on Linux and I guess with the StackVM):
> 0 => executable name
> -1 .. -n => VM arguments *including* image (if explicitly
Right. And that makes sense.
> Why the need to change that? And what's 0 returning now? The same as 1
> (with path)?
I wanted all three platforms to be the same (the Mac was not answering any
VM parameters at all, and Windows was returning the executable in -1). But
I missed that 0 was answering the executable name. It makes no sense for
Smalltalk getSystemAttribute: 0 and Smalltalk getSystemAttribute: -1 to
answer the same thing. I will change it (back) to
0 => executable name
-1 .. -n => VM arguments *including* image (if explicitly
and do so on all platforms.
Thanks for spotting this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev