NetBSD/usr.sbin/lastlogin
martin 4e3d070b37 Pull up following revision(s) (requested by kim in ticket #893):
usr.sbin/lastlogin/lastlogin.c: revision 1.16
	usr.sbin/lastlogin/lastlogin.c: revision 1.17
	usr.sbin/lastlogin/lastlogin.c: revision 1.18
	usr.sbin/lastlogin/lastlogin.c: revision 1.19
	usr.sbin/lastlogin/lastlogin.c: revision 1.20
	usr.sbin/lastlogin/lastlogin.8: revision 1.13
	usr.sbin/lastlogin/lastlogin.8: revision 1.14

Size output columns dynamically by default to fit contents.

If the passwd entry is not found for a lastlogx entry, cons up a fake
struct passwd where pw_name is the numeric uid in parentheses. This was
already implemented for lastlog entries in revision 1.13.

If -n is specified more than once, also print the user numerically
(ie, uid instead of username) for lastlog entries. This was already
implemented for lastlogx entries in revision 1.13.

Reorder the lastlogx host name numeric condition so it better matches
the user name numeric condition.

Use memcpy for copying out lastlog and lastlogx text
Lastlog and lastlogx text fields are not NUL-terminated when original data
is truncated.

Output records in original order

Append to the list of output records instead of pushing on it, so we
don't reverse the order of records (when not sorting).

New sentence, new line.

Sync usage with man page.
2020-05-07 18:19:28 +00:00
..
Makefile
lastlogin.8 Pull up following revision(s) (requested by kim in ticket #893): 2020-05-07 18:19:28 +00:00
lastlogin.c Pull up following revision(s) (requested by kim in ticket #893): 2020-05-07 18:19:28 +00:00