]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/, src/: Use s=strprefix(s,p)?:s instead of its pattern
authorAlejandro Colomar <alx@kernel.org>
Tue, 10 Dec 2024 03:38:45 +0000 (04:38 +0100)
committerSerge Hallyn <serge@hallyn.com>
Mon, 26 May 2025 16:29:26 +0000 (11:29 -0500)
commitb6140635eb26db56e1e8d60ace09f77e1f85daad
treef1b9cf55698ad0420d511a71ee0167671feeacf4
parent34e9e5a8f571362893d5e10080e529513845e32c
lib/, src/: Use s=strprefix(s,p)?:s instead of its pattern

This skips an optional prefix.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/console.c
lib/limits.c
lib/strtoday.c
lib/user_busy.c
lib/utmp.c
src/newgrp.c