New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20429 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

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

comment:1 Changed 4 years ago by blb@…

  • Status changed from new to closed
  • Priority changed from High to Normal
  • Resolution set to invalid

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.