]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Do not document the behavior compared to old versions.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 17 Nov 2007 23:11:02 +0000 (23:11 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 17 Nov 2007 23:11:02 +0000 (23:11 +0000)
ChangeLog
src/useradd.c

index 5719ea5141bcdbb3175267484bdd9606ee889354..ec52109109d7623e66d41a76f6080ce7d018df2c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * man/usermod.8.xml: Document the differences between locking an
index 4527a5739e9d1445ec8be4b21e5a86cf61e6904a..8d1d0963080478576526e278243dc895ed445bc2 100644 (file)
@@ -695,6 +695,11 @@ static void new_spent (struct spwd *spent)
  *
  *     grp_update() takes the secondary group set given in user_groups
  *     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)
 {
@@ -706,8 +711,6 @@ static void grp_update (void)
        struct sgrp *nsgrp;
 #endif
 
-       /* Locking and opening of the group files moved to open_files() --gafton */
-
        /*
         * Scan through the entire group file looking for the groups that
         * the user is a member of.