aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ac/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Massively refactor ac(8).Ed Schouten2012-08-301-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use queue(3) -- not some homegrown implementation of linked lists. - Rename structures to _entry, as they are entries in the linked list -- not the lists themselves. - Don't store entire copies of struct utmpx in utmpx_entry, but only the members we're interested in. Large fields such as hostnames are not needed during the execution of the program. - Give structure members useful names, instead of `name'. - While there, use struct timevals instead of time_t's internally. This is not strictly useful, but while we're at it... - Mark stuff static. - Add missing const keywords. - Remove unneeded prototypes. - Remove workaround for sparc64-specific utmp problems. These don't apply to utmpx. - Don't discard entries when timestamps are not monotone. This shouldn't ever happen with utmpx, but discarding them is a bit too harsh. - Remove debug code. We nowadays have `getent utmpx', which can be used to analyze logfiles in depth. - Use proper uppercasing/periods in comments. - Print output of `ac -p' sorted alphabetically, instead of first occurrence. - Properly check against pts/* instead of tty[PQRSpqrs]* to determine whether a TTY is a pseudo-terminal. MFC after: 1 month Notes: svn path=/head/; revision=239910
* MFtbemd:Warner Losh2010-08-231-1/+1
| | | | | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform. Notes: svn path=/head/; revision=211725
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-2/+0
| | | | Notes: svn path=/head/; revision=201390
* Compile 'ac' with DEBUG when arch==sparc64.Garance A Drosehn2004-03-081-0/+5
| | | | Notes: svn path=/head/; revision=126751
* Fix indentation broken in previous __P removal.Alfred Perlstein2002-07-111-1/+1
| | | | | | | Grumbled about by: bde Notes: svn path=/head/; revision=99831
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-1/+2
| | | | | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before. Notes: svn path=/head/; revision=80029
* Constify and set WARNS=2.Dima Dorfman2001-06-241-0/+1
| | | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Reviewed by: md5(1) Notes: svn path=/head/; revision=78713
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74532
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22997
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* ac(8) utility, brought over from FreeBSD 1.1.5.David Greenman1994-09-261-0/+18
Notes: svn path=/head/; revision=3133