]> git.ipfire.org Git - thirdparty/shadow.git/commit
Remove some static char arrays
authorSamanta Navarro <ferivoz@riseup.net>
Tue, 9 May 2023 11:59:20 +0000 (11:59 +0000)
committerSerge Hallyn <serge@hallyn.com>
Thu, 11 May 2023 16:05:29 +0000 (11:05 -0500)
commit666468cc36197b2f313f05cc04f2b53cb8aeec14
tree8d5085fe4de3f657a2afeba94cffc4c419e4bcf3
parent72290ede0e0d0cf960127bf42f11a7e227d4dac5
Remove some static char arrays

Some strings are first written into static char arrays before passed to
functions which expect a const char pointer anyway.

It is easier to pass these strings directly as arguments.

Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
libmisc/setupenv.c
src/sulogin.c