Do not document the behavior compared to old versions.

This commit is contained in:
nekral-guest 2007-11-17 23:11:02 +00:00
parent 7b50ff67f9
commit 311f4baa27
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-11-18 Nicolas François <nicolas.francois@centraliens.net>
* src/useradd.c: Do not document the behavior compared to old
versions.
2007-11-17 Nicolas François <nicolas.francois@centraliens.net> 2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
* man/usermod.8.xml: Document the differences between locking an * man/usermod.8.xml: Document the differences between locking an

View File

@ -695,6 +695,11 @@ static void new_spent (struct spwd *spent)
* *
* grp_update() takes the secondary group set given in user_groups * grp_update() takes the secondary group set given in user_groups
* and adds the user to each group given by that set. * and adds the user to each group given by that set.
*
* The group files are opened and locked in open_files().
*
* close_files() should be called afterwards to commit the changes
* and unlocking the group files.
*/ */
static void grp_update (void) static void grp_update (void)
{ {
@ -706,8 +711,6 @@ static void grp_update (void)
struct sgrp *nsgrp; struct sgrp *nsgrp;
#endif #endif
/* Locking and opening of the group files moved to open_files() --gafton */
/* /*
* Scan through the entire group file looking for the groups that * Scan through the entire group file looking for the groups that
* the user is a member of. * the user is a member of.