* src/newusers.c: Fix the check for GID/UID validity.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 13 Jun 2008 20:56:44 +0000 (20:56 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 13 Jun 2008 20:56:44 +0000 (20:56 +0000)
commite50ff5c7b54bb713b6a6ca894db72502ba01957b
treebcc6a765af16599bc47da8af07d3684a6ca90702
parent906e8c000135d3defb4308c9dd4a8a3ae1b4c2b0
* src/newusers.c: Fix the check for GID/UID validity.
* src/newusers.c: Comment why we use both getgrgid() and
gr_locate_gid().
* src/newusers.c: Cast the parsed GID/UID to a gid_t/uid_t.
* src/newusers.c: Cast the number of days to a long integer.
* src/newusers.c: Use SHADOW_SP_FLAG_UNSET for the initial
value of spent.sp_flag.
* src/newusers.c: The size argument of fgets is an int, not a
size_t.
ChangeLog
src/newusers.c