Hi there,

is Macports overriding the standard Tcl ‘sysctl’ call?
I’m getting strange outputs:

Macmini > tclsh
% catch {sysctl -n hw.machine} result
x86_64
0
%

but this code in Macports:

    if {![catch {sysctl hw.machine} result]} {
        set native_arch ${result}
        puts ${result}
    }

reports ‘32767’

How come?

Vincent

_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to