On 2013-04-17 12:31, vincent habchi wrote:
>> There is no "standard Tcl ‘sysctl’ call". The sysctl proc you can call
>> from portfiles is defined in src/macports1.0/sysctl.c. It's just a thin
>> wrapper around sysctlbyname(3) to make it available from Tcl.

Why is this wrapper in macports1.0 and not in pextlib1.0 where we define
all the others?

> […]
> BTW, “Macports sysctl” does not handle any options, so “sysctl -n …” returns 
> “wrong number of args”.

/usr/sbin/sysctl -n only suppresses printing the label, so for our
wrapper it would not change anything.

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

Reply via email to