]> git.ipfire.org Git - thirdparty/shadow.git/commit
* libmisc/chkname.h, libmisc/chkname.c: check_group_name (resp.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 25 May 2008 20:58:16 +0000 (20:58 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 25 May 2008 20:58:16 +0000 (20:58 +0000)
commit623d9e2ab324176c2c6e9fd731c00d46cc6c0ce1
tree4fce782b6ac78e0baccfc815129fc5dc9fc06a26
parentcb8d416b374c8a839332ae1ba0b3295b04ec2898
* libmisc/chkname.h, libmisc/chkname.c: check_group_name (resp.
check_user_name) renamed to is_valid_user_name (resp.
is_valid_group_name). is_valid_user_name and is_valid_group_name
return a bool.
* src/grpck.c, src/newusers.c, src/usermod.c, src/useradd.c,
src/groupmod.c, src/pwck.c, src/groupadd.c: Use is_valid_user_name
and is_valid_group_name, following above change.
* libmisc/chkname.c: Avoid implicit conversion of chars to
booleans. Add brackets and parenthesis.
ChangeLog
libmisc/chkname.c
libmisc/chkname.h
src/groupadd.c
src/groupmod.c
src/grpck.c
src/newusers.c
src/pwck.c
src/useradd.c
src/usermod.c