]> git.ipfire.org Git - thirdparty/shadow.git/commit
src/chfn.c: Use strsep(3) and strcpy(3) instead of its pattern
authorAlejandro Colomar <alx@kernel.org>
Fri, 18 Jul 2025 22:11:11 +0000 (00:11 +0200)
committerSerge Hallyn <serge@hallyn.com>
Sat, 9 Aug 2025 23:00:36 +0000 (18:00 -0500)
commit874c81bde056bde658d08b882d3e99c06ef5d277
tree32045c29b5facb2ae7a59b4131da1ebf8ecfbde5
parent51fa767a75930d869b1db6237762c00fac40a22d
src/chfn.c: Use strsep(3) and strcpy(3) instead of its pattern

This wrapper was very weird, and it's simpler to open-code the calls to
strsep(3) and strcpy(3) instead.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/chfn.c