]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make mppath and masterpasswd pointers instead of arrays, and initialize
authorDag-Erling Smørgrav <des@FreeBSD.org>
Wed, 17 Apr 2002 00:18:15 +0000 (00:18 +0000)
committerDag-Erling Smørgrav <des@FreeBSD.org>
Wed, 17 Apr 2002 00:18:15 +0000 (00:18 +0000)
commitf9eaa746eb0566ac48ca27c7c6bc9aa42e8ef80f
tree38bbb767237b37f452bd7a6e77e809ffa5bd53d5
parent7e1c2e33be7f8b8f963d9c3164948ce239d0973a
Make mppath and masterpasswd pointers instead of arrays, and initialize
them to point at static strings that contain the default paths.  This
makes 'vipw -d' work again (I broke it in rev 1.21; apologies for taking
so long to fix it.)

Spotted by: Olivier Houchard <doginou@cognet.ci0.org>
Sponsored by: DARPA, NAI Labs
lib/libutil/pw_util.c
usr.sbin/vipw/pw_util.c