shadow/lib
Alejandro Colomar 44126d85ee Remove definition of ISDIGIT_LOCALE(c)
It wasn't being used at all.  Let's remove it.

Use isdigit(3) directly in comments that referenced it.

Also, in those comments, remove an outdated reference to the fact
that ISDIGIT_LOCALE(c) might evaluate its argument more than once,
which could be true a few commits ago, until
IN_CTYPE_DEFINITION(c) was removed.  Previously, the definition
for ISDIGIT_LOCALE(c) was:

 #if defined (STDC_HEADERS) || (!defined (isascii) && !defined (HAVE_ISASCII))
 # define IN_CTYPE_DOMAIN(c) 1
 #else
 # define IN_CTYPE_DOMAIN(c) isascii(c)
 #endif

 #define ISDIGIT_LOCALE(c) (IN_CTYPE_DOMAIN (c) && isdigit (c))

Which could evaluate 'c' twice on pre-C89 systems (which I hope
don't exist nowadays).

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
2021-12-29 02:41:09 +01:00
..
.indent.pro
commonio.c lib: rename Prog to shadow_progname, with only one definition 2021-12-25 22:41:58 +00:00
commonio.h
defines.h Remove definition of ISDIGIT_LOCALE(c) 2021-12-29 02:41:09 +01:00
encrypt.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
exitcodes.h
faillog.h fix spelling 2021-09-13 15:11:40 +00:00
fields.c
fputsx.c
get_gid.c
get_pid.c
get_uid.c
getdef.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
getdef.h
getlong.c
getulong.c
groupio.c
groupio.h
groupmem.c
gshadow_.h
gshadow.c
lockpw.c
Makefile.am Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
nscd.c lib: rename Prog to shadow_progname, with only one definition 2021-12-25 22:41:58 +00:00
nscd.h
nss.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
pam_defs.h
port.c
port.h
prototypes.h Merge pull request #467 from alejandro-colomar/date_to_str 2021-12-27 09:53:00 -06:00
pwauth.c fix spelling and unify whitespace 2021-08-18 18:06:02 +00:00
pwauth.h
pwio.c
pwio.h
pwmem.c lib: check NULL before freeing passwd data 2021-11-19 12:09:59 +01:00
run_part.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
run_part.h
selinux.c lib: rename Prog to shadow_progname, with only one definition 2021-12-25 22:41:58 +00:00
semanage.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
sgetgrent.c
sgetpwent.c fix spelling and unify whitespace 2021-08-18 18:06:02 +00:00
sgetspent.c
sgroupio.c
sgroupio.h
shadow.c
shadowio.c
shadowio.h
shadowlog_internal.h lib: rename Prog to shadow_progname, with only one definition 2021-12-25 22:41:58 +00:00
shadowlog.c lib: provide default values for shadow_progname/shadow_logfd 2021-12-27 16:28:23 +00:00
shadowlog.h Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
shadowmem.c lib: check NULL before freeing passwd data 2021-11-19 12:09:59 +01:00
spawn.c lib: rename Prog to shadow_progname, with only one definition 2021-12-25 22:41:58 +00:00
sssd.c lib: rename Prog to shadow_progname, with only one definition 2021-12-25 22:41:58 +00:00
sssd.h
subordinateio.c fix spelling 2021-09-13 15:11:40 +00:00
subordinateio.h fix newusers when nss provides subids 2021-05-23 08:16:16 -05:00
tcbfuncs.c lib: rename Prog to shadow_progname, with only one definition 2021-12-25 22:41:58 +00:00
tcbfuncs.h
utent.c