Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sort sections. | ru | 2005-01-18 | 1 | -2/+2 |
| | |||||
* | Added the EXIT STATUS section where appropriate. | ru | 2005-01-17 | 1 | -1/+1 |
| | |||||
* | Mechanically kill hard sentence breaks. | ru | 2004-07-02 | 1 | -2/+4 |
| | |||||
* | Add a check for wtmp records which have invalid values for ut_time. Wtmp | gad | 2004-03-08 | 1 | -12/+64 |
| | | | | | | | | | | | | | | | records with time==0 get "the time of the last valid record", while records where time goes backwards (compared to the previous record) are skipped. Also prints a message saying how many records were changed or skipped due to these checks. Check was inspired by a simpler check in OpenBSD's version. This is all meant to sidestep problems that Tillman Hodgson noticed with 'ac' when running sparc64 with 64-bit time_t's. The real problem is whatever is creating wtmp records with ut_time==0, of course, but I have not yet figured out what is doing that. Reviewed by: no screams from freebsd-sparc64 or bde MFC after: 2 weeks | ||||
* | Compile 'ac' with DEBUG when arch==sparc64. | gad | 2004-03-08 | 1 | -0/+5 |
| | |||||
* | Add a debug-statement from NetBSD, and then rework all debug-statements | gad | 2004-03-08 | 1 | -9/+82 |
| | | | | | | | | | | so the program compiles without errors or warnings when DEBUG is defined on sparc64 with 64-bit time_t's. Also have debug statements include the year when printing records from a different year than 'now'. Also print out a special timestamp in debug statements when ut_time==0. Reviewed by: freebsd-sparc, bde MFC after: 2 weeks | ||||
* | Minor style(9) fixes. remove a register keyword, correct two indents. | gad | 2004-03-03 | 1 | -3/+3 |
| | | | | Noticed while comparing to OpenBSD version. | ||||
* | Convert K&R-style routine definitions to C89 style, partially to reduce | gad | 2004-03-03 | 1 | -33/+13 |
| | | | | diffs with OpenBSD. This causes no changes to the object produced. | ||||
* | Remove unused #includes. Eliminate castings by using size_t instead of int. | charnier | 2002-10-17 | 1 | -8/+4 |
| | |||||
* | The .Nm utility | charnier | 2002-07-14 | 1 | -1/+3 |
| | |||||
* | Fix indentation broken in previous __P removal. | alfred | 2002-07-11 | 2 | -15/+15 |
| | | | | Grumbled about by: bde | ||||
* | de-__P() | alfred | 2002-07-11 | 1 | -13/+13 |
| | |||||
* | Fixed some world breakage caused by not updating clients when <timeconv.h> | bde | 2002-07-08 | 1 | -0/+1 |
| | | | | | was split off from <time.h>. This became fatal here when -Werror was reenabled. | ||||
* | I've been meaning to do this for a while. Add an underscore to the | dillon | 2002-01-19 | 1 | -2/+2 |
| | | | | | | | | time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx() instead of time_to_xxx(), to make it more obvious that these are stopgap functions & placemarkers and not meant to create a defacto standard. They will eventually be replaced when a real standard comes out of committee. | ||||
* | localtime() was being called with an int-pointer due to recent utmp | dillon | 2001-10-29 | 1 | -2/+4 |
| | | | | fixes. | ||||
* | Don't mention wtmp.[0-7] in the FILES section. This manual page | dd | 2001-09-05 | 1 | -3/+1 |
| | | | | | | | | | doesn't talk about these files elsewhere, doesn't use the files by default, and the names are dependent on site-specific newsyslog configuration. PR: 30348 Submitted by: Giorgos Keramidas <charon@labs.gr> | ||||
* | mdoc(7) police: utilize the new .Ex macro. | ru | 2001-08-15 | 1 | -4/+2 |
| | |||||
* | Fix logic error resulting in incorrect calculation of login time | jon | 2001-08-05 | 1 | -2/+2 |
| | | | | | | PR: bin/4204 Submitted by: Anatoly A. Orehovsky <tolik@www.tomsk.su> MFC after: 4 weeks | ||||
* | Replace strncpy -> strlcpy | kris | 2001-07-24 | 1 | -6/+3 |
| | | | | | Obtained from: OpenBSD MFC after: 1 week | ||||
* | Perform a major cleanup of the usr.sbin Makefiles. | obrien | 2001-07-20 | 1 | -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. | ||||
* | Remove whitespace at EOL. | dd | 2001-07-15 | 1 | -4/+4 |
| | |||||
* | Constify and set WARNS=2. | dd | 2001-06-24 | 2 | -4/+5 |
| | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Reviewed by: md5(1) | ||||
* | - Backout botched attempt to introduce MANSECT feature. | ru | 2001-03-26 | 1 | -0/+1 |
| | | | | - MAN[1-9] -> MAN. | ||||
* | Use nl_langinfo instead of %Ef | ache | 2001-03-21 | 1 | -2/+7 |
| | |||||
* | Set the default manual section for usr.sbin/ to 8. | ru | 2001-03-20 | 1 | -1/+0 |
| | |||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -1/+1 |
| | |||||
* | Use %Ef instead of hardcoded %b %e | ache | 2000-06-22 | 1 | -1/+1 |
| | |||||
* | err -> errx for malloc failure | charnier | 1999-10-12 | 1 | -3/+3 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 3 | -3/+3 |
| | |||||
* | Back out previous commit. Allowing `-' as a pseudonym for /dev/stdin is | sheldonh | 1999-07-02 | 2 | -18/+7 |
| | | | | | | legacy behaviour inherited from systems that don't have /dev/stdin. Requested by: bde | ||||
* | Allow the use of `-' as an argument to the -w option so that standard | sheldonh | 1999-06-30 | 2 | -7/+18 |
| | | | | | | | input may be used (e.g. gunzip -c /var/log/wtmp.Jan.gz | ac -w - ). PR: 12467 Submitted by: wollman | ||||
* | /var/log/wtmp entries for ptys are treated differently in ac, since | phk | 1998-07-02 | 1 | -3/+3 |
| | | | | | | | | | they may not be logins. The code for determining whether it is a pty entry is broken. PR: 7137 Reviewed by: phk Submitted by: Tom Rush <tarush@mindspring.com> | ||||
* | Give correct times with old wtmp files. | steve | 1998-05-25 | 1 | -2/+3 |
| | | | | | PR: 4732 Submitted by: Andrew Timonin <tim@pool1.convey.ru> | ||||
* | Style in rcsid, sort #include. | charnier | 1997-09-01 | 2 | -7/+8 |
| | |||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-31 | 1 | -2/+2 |
| | | | | posix standard on the topic. | ||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 3 | -3/+3 |
| | |||||
* | Sort cross references. | wosch | 1997-01-20 | 1 | -3/+3 |
| | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 3 | -3/+3 |
| | | | | | | | | 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. | ||||
* | Correct some man page cross references and file location references. | mpp | 1996-04-07 | 1 | -2/+2 |
| | |||||
* | Fix a bunch of spelling errors in a bunch of man pages. | mpp | 1996-01-30 | 1 | -3/+3 |
| | |||||
* | Fix a variety of minor typos and cross references in a bunch of | mpp | 1996-01-20 | 1 | -2/+2 |
| | | | | | | | | man pages. Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp> Giles Lean <giles@nemeton.com.au> <soda@sra.co.jp> | ||||
* | Add setlocale LC_TIME | ache | 1995-10-26 | 1 | -1/+4 |
| | |||||
* | Make it clear that the printed times are measured in hours. | joerg | 1995-10-07 | 1 | -2/+2 |
| | | | | Submitted by: mrami@minerva.cis.yale.edu | ||||
* | Remove trailing whitespace. | rgrimes | 1995-05-30 | 1 | -19/+19 |
| | |||||
* | strncmp use wrong utmp name size | ache | 1994-11-14 | 1 | -2/+2 |
| | | | | Submitted by: rlz@zeus.id.net | ||||
* | ac(8) utility, brought over from FreeBSD 1.1.5. | dg | 1994-09-26 | 3 | -59/+682 |
| | |||||
* | BSD 4.4 Lite usr.sbin Sources | rgrimes | 1994-05-26 | 1 | -0/+107 |