]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/, src/: Rename some local variables master
authorAlejandro Colomar <alx@kernel.org>
Sun, 7 Jan 2024 00:37:04 +0000 (01:37 +0100)
committerSerge Hallyn <serge@hallyn.com>
Sat, 4 May 2024 22:22:57 +0000 (17:22 -0500)
commit98aefe877280d62f42d8f02efd3fd7703a4683d4
treee011a60a03b4308ad94fb6851259414e264ba100
parentf40bd948565d249372585fb158493805215d0a1a
lib/, src/: Rename some local variables

'endptr' is appropriate internally in strtol(3) because it's a pointer
to 'end', and 'end' itself is a pointer to one-after-the-last character
of the numeric string.  In other words,

endptr == &end

However, naming the pointer whose address we pass to strtol(3)'s
'endptr' feels wrong, and causes me trouble while parsing the code; I
need to double check the number of dereferences, because something feels
wrong in my head.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/get_gid.c
lib/get_pid.c
lib/get_uid.c
lib/getgr_nam_gid.c
lib/getrange.c
lib/gettime.c
lib/limits.c
lib/prefix_flag.c
src/useradd.c