summaryrefslogtreecommitdiff
path: root/usr.bin/pctr
AgeCommit message (Collapse)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
2017-09-10sysctl strings include the termingating NUL character in both in and out lengthsTom Cosgrove
Prompted by Nan Xiao noticing the redundancy of bzero+termination - thanks. ok deraadt@
2017-04-16Different compilers and versions of compilers have different warnings.Jonathan Gray
Remove -Werror to give code a greater chance of building. ok deraadt@ florian@
2015-02-08in getopt() blocks, stop incrementing flag variable which are supposedTheo de Raadt
to just be 0/1 ok miod florian
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2012-09-12Define empty CDIAGFLAGS for programs that use Werror.Christiano F. Haesbaert
Makes "make build" build with WARNINGS=Yes on amd64. ok espie
2012-07-11reoder letters to fix piles-o'-typosPhilip Guenthe
2008-07-08sort options in manual page; display a better usage.Igor Sobrado
2008-02-11bump Mdocdate for pages committed in "febuary", necessary becauseJason McIntyre
of a typo in rcs.c;
2008-02-04Fix release number.Mike Belopuhov
ok jmc
2007-11-16spacingTheo de Raadt
2007-11-16- Fix error handling code.Mike Belopuhov
- Change some function names to conform with Core Duo names. - Correct hadnling of the functions that need non-zero Unit Mast specification. - Some other random cleanup.
2007-10-25Cleanup pctr code: sort options, remove nasty return.Mike Belopuhov
ok deraadt
2007-10-24Remove idle loop counter.Mike Belopuhov
ok art deraadt
2007-10-17more unification between amd64 and i386 (API changes, but we thinkTheo de Raadt
noone else uses this acpi except the command); from Mike Belopuhov
2007-10-17- fix several switch statements regarding falling through the case statement;Theo de Raadt
- remove double break; from Mike Belopuhov
2007-10-17various fixes for previous;Jason McIntyre
2007-10-17replacement for the pctr codebase that can handle amd64 processors asTheo de Raadt
well (in fact, all 4 combinations of codebase and processor) written by Mike Belopuhov and Aleksey Lomovtsev
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-15s/oriented/orientated/Chad Loder
2004-12-19spacingTheo de Raadt
2003-08-04protosTheo de Raadt
2003-07-19don't specify the leading "/" in MANSUBDIR (otherwise "//" occurs)David Krause
ok millert@
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2002-12-15typo; torh at bogus.netHenning Brauer
2002-05-29more snprintfTheo de Raadt
2001-08-19err/warn and knfMichael Shalayeff
2001-07-18-Wall cleanupPeter Valchev
2001-06-05License clarification from David Mazieres, ok deraadt@Peter Valchev
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-05-27urhm, this is flakeyTheo de Raadt
2000-05-25man subdirTheo de Raadt
2000-03-23Fix some formatting problems I missed before.Aaron Campbell
2000-03-10Various cleanups and standardization.Aaron Campbell
1998-12-16more .Nm fixesAaron Campbell
1998-09-27usr.bin/ man page cleanups, n-sAaron Campbell
1998-08-30Add a manpage.Jason Downs
1998-08-30Use the kernel's copy of the cpuid information.Jason Downs
This really ought to just be removed...
1998-05-27compile; needs lots of work.Jason Downs
1997-09-21$OpenBSD$Theo de Raadt
1996-08-16Some mostly cosmetic bug fixes.dm
1996-08-147 consonants was just too many. pctrctl -> pctr.dm