Fix comment. find_new_fid is no more called is the user specified a group
ID.
This commit is contained in:
parent
ae99674e9b
commit
3755086645
@ -171,6 +171,7 @@ static long scale_age (long);
|
|||||||
static void new_spent (struct spwd *);
|
static void new_spent (struct spwd *);
|
||||||
static void grp_update (void);
|
static void grp_update (void);
|
||||||
static void find_new_uid (void);
|
static void find_new_uid (void);
|
||||||
|
static void find_new_gid (void);
|
||||||
|
|
||||||
static void process_flags (int argc, char **argv);
|
static void process_flags (int argc, char **argv);
|
||||||
static void close_files (void);
|
static void close_files (void);
|
||||||
@ -885,9 +886,8 @@ static void find_new_gid (void)
|
|||||||
user_gid = gid_min;
|
user_gid = gid_min;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Search the entire group file, either looking for this
|
* Search the entire group file,
|
||||||
* GID (if the user specified one with -g) or looking for the
|
* looking for the largest unused value.
|
||||||
* largest unused value.
|
|
||||||
*/
|
*/
|
||||||
setgrent ();
|
setgrent ();
|
||||||
while ((grp = getgrent ())) {
|
while ((grp = getgrent ())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user