[Pkg-shadow-commits] r1391 - in upstream/trunk: . src

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Nov 17 23:11:02 UTC 2007


Author: nekral-guest
Date: 2007-11-17 23:11:02 +0000 (Sat, 17 Nov 2007)
New Revision: 1391

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/useradd.c
Log:
Do not document the behavior compared to old versions.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2007-11-17 22:21:50 UTC (rev 1390)
+++ upstream/trunk/ChangeLog	2007-11-17 23:11:02 UTC (rev 1391)
@@ -1,3 +1,8 @@
+2007-11-18  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* src/useradd.c: Do not document the behavior compared to old
+	versions.
+
 2007-11-17  Nicolas François  <nicolas.francois at centraliens.net>
 
 	* man/usermod.8.xml: Document the differences between locking an

Modified: upstream/trunk/src/useradd.c
===================================================================
--- upstream/trunk/src/useradd.c	2007-11-17 22:21:50 UTC (rev 1390)
+++ upstream/trunk/src/useradd.c	2007-11-17 23:11:02 UTC (rev 1391)
@@ -695,6 +695,11 @@
  *
  *	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 @@
 	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.




More information about the Pkg-shadow-commits mailing list