* 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: ".
This commit is contained in:
nekral-guest
2008-06-14 21:06:53 +00:00
parent eed5fc7179
commit dbbae8dcd3
2 changed files with 27 additions and 33 deletions

View File

@@ -1,3 +1,12 @@
2008-06-14 Nicolas François <nicolas.francois@centraliens.net>
* 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: ".
2008-06-14 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/getlong.c: Reset errno before calling strtol().