]> granicus.if.org Git - shadow/commit
* src/lastlog.c: Use getrange to parse the range of users.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 14 Jun 2008 21:06:53 +0000 (21:06 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 14 Jun 2008 21:06:53 +0000 (21:06 +0000)
commitdbbae8dcd311c57949478e4e182e0501837bc0cc
tree80d343507df48cb3370bea889132c41c00f290ba
parenteed5fc7179b2f2686321630edf3914aaa9d8e574
* src/lastlog.c: Use getrange to parse the range of users.
* src/lastlog.c: umin and umax do not need to be signed long. Use
an unsigned long which might be needed to parse a GID or UID. Add
the has_umin and has_umax to replace the -1 values.
* src/lastlog.c: Cast dates to time_t.
* src/lastlog.c: Prefix lastlog errors with "lastlog: ".
ChangeLog
src/lastlog.c