| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=126752
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=126750
|
|
|
|
|
|
|
| |
Noticed while comparing to OpenBSD version.
Notes:
svn path=/head/; revision=126516
|
|
|
|
|
|
|
| |
diffs with OpenBSD. This causes no changes to the object produced.
Notes:
svn path=/head/; revision=126515
|
|
|
|
| |
Notes:
svn path=/head/; revision=105325
|
|
|
|
|
|
|
| |
Grumbled about by: bde
Notes:
svn path=/head/; revision=99831
|
|
|
|
| |
Notes:
svn path=/head/; revision=99800
|
|
|
|
|
|
|
|
| |
was split off from <time.h>. This became fatal here when -Werror was
reenabled.
Notes:
svn path=/head/; revision=99604
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=89572
|
|
|
|
|
|
|
| |
fixes.
Notes:
svn path=/head/; revision=85649
|
|
|
|
|
|
|
|
|
| |
PR: bin/4204
Submitted by: Anatoly A. Orehovsky <tolik@www.tomsk.su>
MFC after: 4 weeks
Notes:
svn path=/head/; revision=81156
|
|
|
|
|
|
|
|
| |
Obtained from: OpenBSD
MFC after: 1 week
Notes:
svn path=/head/; revision=80275
|
|
|
|
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
Reviewed by: md5(1)
Notes:
svn path=/head/; revision=78713
|
|
|
|
| |
Notes:
svn path=/head/; revision=74568
|
|
|
|
| |
Notes:
svn path=/head/; revision=61956
|
|
|
|
| |
Notes:
svn path=/head/; revision=52166
|
|
|
|
| |
Notes:
svn path=/head/; revision=50479
|
|
|
|
|
|
|
|
|
| |
legacy behaviour inherited from systems that don't have /dev/stdin.
Requested by: bde
Notes:
svn path=/head/; revision=48459
|
|
|
|
|
|
|
|
|
|
| |
input may be used (e.g. gunzip -c /var/log/wtmp.Jan.gz | ac -w - ).
PR: 12467
Submitted by: wollman
Notes:
svn path=/head/; revision=48378
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
Notes:
svn path=/head/; revision=37330
|
|
|
|
|
|
|
|
| |
PR: 4732
Submitted by: Andrew Timonin <tim@pool1.convey.ru>
Notes:
svn path=/head/; revision=36353
|
|
|
|
| |
Notes:
svn path=/head/; revision=28995
|
|
|
|
|
|
|
| |
posix standard on the topic.
Notes:
svn path=/head/; revision=24428
|
|
|
|
| |
Notes:
svn path=/head/; revision=22997
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=11827
|
|
|
|
| |
Notes:
svn path=/head/; revision=8857
|
|
|
|
|
|
|
| |
Submitted by: rlz@zeus.id.net
Notes:
svn path=/head/; revision=4484
|
|
Notes:
svn path=/head/; revision=3133
|