[Pkg-shadow-commits] r1746 - upstream/trunk/src

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sun Jan 27 14:31:24 UTC 2008


Author: nekral-guest
Date: 2008-01-27 14:31:23 +0000 (Sun, 27 Jan 2008)
New Revision: 1746

Modified:
   upstream/trunk/src/useradd.c
Log:
Fix comment. find_new_fid is no more called is the user specified a group
ID.


Modified: upstream/trunk/src/useradd.c
===================================================================
--- upstream/trunk/src/useradd.c	2008-01-26 17:41:20 UTC (rev 1745)
+++ upstream/trunk/src/useradd.c	2008-01-27 14:31:23 UTC (rev 1746)
@@ -171,6 +171,7 @@
 static void new_spent (struct spwd *);
 static void grp_update (void);
 static void find_new_uid (void);
+static void find_new_gid (void);
 
 static void process_flags (int argc, char **argv);
 static void close_files (void);
@@ -885,9 +886,8 @@
 	user_gid = gid_min;
 
 	/*
-	 * Search the entire group file, either looking for this
-	 * GID (if the user specified one with -g) or looking for the
-	 * largest unused value.
+	 * Search the entire group file,
+	 * looking for the largest unused value.
 	 */
 	setgrent ();
 	while ((grp = getgrent ())) {




More information about the Pkg-shadow-commits mailing list