Opened 15 years ago

Closed 15 years ago

#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: jmroot (Joshua Root)
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 (1)

comment:1 Changed 15 years ago by blb@…

Priority: HighNormal
Resolution: invalid
Status: newclosed

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:

$ /usr/sbin/sysctl hw.cpu64bit_capable
hw.cpu64bit_capable: 1
Note: See TracTickets for help on using tickets.