shadow/contrib
Alejandro Colomar bddcd9b095 Remove superfluous casts
-  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>
2023-02-09 10:03:03 -06:00
..
adduser2.sh spelling: default 2017-10-22 18:34:35 +00:00
adduser.c Remove superfluous casts 2023-02-09 10:03:03 -06:00
adduser.sh
atudel Update licensing info 2021-12-23 19:36:50 -06:00
groupmems.shar Update licensing info 2021-12-23 19:36:50 -06:00
Makefile.am Remove pwdauth.c 2022-12-21 08:22:22 -06:00
README
shadow-anonftp.patch spelling: anonymous 2017-10-22 07:56:49 +00:00
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