Dear Torsten,

That truly sucks. We should try to make the implementation consistent, and fix the 'platform' property. I just added a bug report in the Gforge tracker, with the information you provided.

Cheers,
raph

Torsten Anders wrote:
Dear all,

on a Macbook Pro, the function {Property.get 'platform.os'} returns 'i486', whereas {Property.get 'platform.arch'} returns 'darwin'. I expect that these two values have been swapped accidentally. BTW, according to the list at http://www.mozart-oz.org/documentation/system/node69.html#section.property.platform, a similar swapping concerning the arch 'powermac' with OS 'darwin' even made it into the documentation -- in contrast to the arch 'powermac' with OS 'linux'.

Moreover, {OS.uName} called on a Macbook Pro returns

utsname(machine:"i386"
    sysname:"Darwin"
    ...)

That is, 'i486' and "i386" are inconsistent.

So, is there some reason for this, or should I file a bug report?

Best
Torsten

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to