| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/head/; revision=95124
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92920
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
session start time. This is useful when looking at old or long-running
wtmp files.
PR: bin/12982
Obtained from: KOJIMA Hajime <kjm@rins.ryukoku.ac.jp>, keramida
Reviewed by: keramida
MFC after: 1 week
Notes:
svn path=/head/; revision=91541
|
| |
|
|
|
|
|
|
|
| |
needs to be retained across entries, and we need to exit(), not
return from doentry() when `maxrec' reaches 0. Move the code for
processing `maxrec' into printentry() for simplicity.
Notes:
svn path=/head/; revision=91538
|
| |
|
|
|
|
|
| |
duplication.
Notes:
svn path=/head/; revision=91536
|
| |
|
|
|
|
|
| |
help the GCC3 transition and CURRENT in general.
Notes:
svn path=/head/; revision=90415
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
utmp-related commits). fixed.
Notes:
svn path=/head/; revision=85648
|
| |
|
|
|
|
|
| |
Submitted by: Martin Kammerhofer <mkamm@sbox.tu-graz.ac.at>
Notes:
svn path=/head/; revision=81161
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79535
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79275
|
| |
|
|
|
|
|
|
|
| |
assume that time_t is a long. Clamp down with WARNS=2.
Not objected to by: -audit
Notes:
svn path=/head/; revision=78201
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
found in wtmp(5) for the same TTY without in-between "logout"
mark.
This may be demonstrated by executing login(1), logging in and
out, and watching the last(1) output on this TTY:
: # last -tv7 -w
: ru ttyv7 Mon May 28 12:46 - 12:46 (00:00:01)
: ru ttyv7 Mon May 28 12:45 still logged in
The fix merely takes the second "login" mark as the "logout" for
the first "login" mark, if there were no "logout" mark in-between.
This restores the behavior of last.c,v 1.2:
: # last -tv7 -w
: ru ttyv7 Mon May 28 12:46 - 12:46 (00:00:01)
: ru ttyv7 Mon May 28 12:45 - 12:46 (00:00:25)
Silence from: -arch, dg
Notes:
svn path=/head/; revision=77328
|
| |
|
|
|
|
|
|
|
| |
who was logged in at a certain time and date.
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=77291
|
| |
|
|
| |
Notes:
svn path=/head/; revision=76014
|
| |
|
|
| |
Notes:
svn path=/head/; revision=74588
|
| |
|
|
|
|
|
| |
Submitted by: ben
Notes:
svn path=/head/; revision=70467
|
| |
|
|
| |
Notes:
svn path=/head/; revision=68963
|
| |
|
|
|
|
|
| |
getopt returns -1 not EOF.
Notes:
svn path=/head/; revision=65428
|
| |
|
|
| |
Notes:
svn path=/head/; revision=62871
|
| |
|
|
|
|
|
|
|
| |
It was not discussed and should probably not happen.
Requested by: msmith and others
Notes:
svn path=/head/; revision=60938
|
| |
|
|
|
|
|
|
|
|
|
| |
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
Notes:
svn path=/head/; revision=60833
|
| |
|
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
Notes:
svn path=/head/; revision=57670
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
Notes:
svn path=/head/; revision=48792
|
| |
|
|
|
|
|
| |
Add s and w flags to show duration in or with seconds.
Notes:
svn path=/head/; revision=36434
|
| |
|
|
|
|
|
| |
to time().
Notes:
svn path=/head/; revision=36062
|
| |
|
|
|
|
|
|
| |
PR: 6421
Submitted by: phk
Notes:
svn path=/head/; revision=35658
|
| |
|
|
|
|
|
| |
posix standard on the topic.
Notes:
svn path=/head/; revision=24360
|
| |
|
|
|
|
|
| |
like in who, rwho, w, etc.
Notes:
svn path=/head/; revision=20158
|
| |
|
|
|
|
|
| |
Closes PR bin/1909: 'last' coredumps if MALLOC_OPTIONS...
Notes:
svn path=/head/; revision=19223
|
| |
|
|
| |
Notes:
svn path=/head/; revision=16438
|
| |
|
|
|
|
|
|
|
|
|
|
| |
made other performance improving changes. This improves the performance
of last(1) by as much as 32 times in some cases, and in more typical cases
is about twice as fast.
Added a BUGS section to the manual page to describe the behavior of last(1)
when a login shell terminates abnormally (and thus doesn't write a logout
record to the wtmp file).
Notes:
svn path=/head/; revision=11547
|
| |
|
|
|
|
|
| |
which is no longer bogusly installed in /usr/include.
Notes:
svn path=/head/; revision=9987
|
|
|
Notes:
svn path=/cvs2svn/branches/CHRISTOS/; revision=1590
|