mirror of
https://github.com/shadow-maint/shadow.git
synced 2024-11-24 10:35:01 +08:00
bddcd9b095
- Every non-const pointer converts automatically to void *. - Every pointer converts automatically to void *. - void * converts to any other pointer. - const void * converts to any other const pointer. - Integer variables convert to each other. I changed the declaration of a few variables in order to allow removing a cast. However, I didn't attempt to edit casts inside comparisons, since they are very delicate. I also kept casts in variadic functions, since they are necessary, and in allocation functions, because I have other plans for them. I also changed a few casts to int that are better as ptrdiff_t. This change has triggered some warnings about const correctness issues, which have also been fixed in this patch (see for example src/login.c). Signed-off-by: Alejandro Colomar <alx@kernel.org> |
||
---|---|---|
.. | ||
adduser2.sh | ||
adduser.c | ||
adduser.sh | ||
atudel | ||
groupmems.shar | ||
Makefile.am | ||
README | ||
shadow-anonftp.patch | ||
udbachk.tgz |
People keep sending various adduser programs and scripts... They are all in this directory. I haven't tested them, use at your own risk. Anyway, the best one I've seen so far is adduser-3.x from Debian. atudel is a perl script to remove at jobs owned by the specified user (atrm in at-2.9 for Linux can't do that). udbachk.tgz is a passwd/group/shadow file integrity checker. --marekm