* New function: process_flags() split out of main().

The flags variables are now global.
* New functions: check_perms(), update_gecos(),
  get_old_fields(), and check_fields() split out of main().
* Before pam_end(), the return value of the previous
  pam API was already checked. No need to validate it again.
This commit is contained in:
nekral-guest
2007-12-31 13:43:04 +00:00
parent d0b984528a
commit 7279ff37f3
2 changed files with 275 additions and 198 deletions

View File

@@ -1,3 +1,12 @@
2007-12-31 Nicolas François <nicolas.francois@centraliens.net>
* src/chfn.c: New function: process_flags() split out of main().
The flags variables are now global.
* src/chfn.c: New functions: check_perms(), update_gecos(),
get_old_fields(), and check_fields() split out of main().
* src/chfn.c: Before pam_end(), the return value of the previous
pam API was already checked. No need to validate it again.
2007-12-31 Nicolas François <nicolas.francois@centraliens.net>
* src/newusers.c: Compilation fix for PAM support (pamh needs to be