Add defines to allow pwd_mkdb to build databases in a specified

directory - removing the need to hardcode /etc into pwd_mkdb
This commit is contained in:
Gary Palmer 1994-09-07 22:58:26 +00:00
parent fb0e6acc6f
commit 2069b09ad3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2552

View File

@ -44,11 +44,16 @@
#include <sys/types.h>
#ifndef _POSIX_SOURCE
#define _PATH_PWD "/etc"
#define _PATH_PASSWD "/etc/passwd"
#define _PASSWD "passwd"
#define _PATH_MASTERPASSWD "/etc/master.passwd"
#define _MASTERPASSWD "master.passwd"
#define _PATH_MP_DB "/etc/pwd.db"
#define _MP_DB "pwd.db"
#define _PATH_SMP_DB "/etc/spwd.db"
#define _SMP_DB "spwd.db"
#define _PATH_PWD_MKDB "/usr/sbin/pwd_mkdb"