Ticket #20429 (closed defect: invalid)
Typo error in base?
| Reported by: | danocd@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | base | Version: | 1.8.0 |
| Keywords: | sysctl | Cc: | jmr@… |
| Port: |
Description
I hope I am wrong but I don't know if there is a typo error in this point http://trac.macports.org/browser/trunk/base/src/macports1.0/macports.tcl#L665.
Is "sysctl" (system control?) correct? Or is "systcl" (system tcl?) correct instead? I am not able to understand by myself. Sorry.
I hope it is a bad ticket that Joshua will close as inconsistent.
Change History
Note: See
TracTickets for help on using
tickets.


sysctl is correct, it is a call to sysctlbyname(3) to query system information. You can basically see the same information on the command line: