* src/usermod.c: Split update_files() into update_lastlog() and

update_faillog(). Report errors (but don't fail) if the file
	exist, but open(), lseek(), read(), write(), or close() fails.
	* src/usermod.c: Add brackets and parenthesis.
	* src/usermod.c: Ignore the return value of pam_end() before
	exiting.
	* src/usermod.c: Ignore the return value of strftime(),
	snprintf(), and puts().
	* src/usermod.c: Check the return value of gmtime() and asctime(),
	and output the raw time_t on failures.
This commit is contained in:
nekral-guest
2008-07-11 20:52:44 +00:00
parent e4e3bd5175
commit 62c8e79676
2 changed files with 129 additions and 31 deletions

View File

@@ -1,3 +1,16 @@
2008-07-11 Nicolas François <nicolas.francois@centraliens.net>
* src/usermod.c: Split update_files() into update_lastlog() and
update_faillog(). Report errors (but don't fail) if the file
exist, but open(), lseek(), read(), write(), or close() fails.
* src/usermod.c: Add brackets and parenthesis.
* src/usermod.c: Ignore the return value of pam_end() before
exiting.
* src/usermod.c: Ignore the return value of strftime(),
snprintf(), and puts().
* src/usermod.c: Check the return value of gmtime() and asctime(),
and output the raw time_t on failures.
2008-07-11 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/setugid.c: Add brackets.