diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-04 22:52:26 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-04 22:52:26 +0000 |
commit | 005d20f04dff3665c9533417bdad06d7d208bf9a (patch) | |
tree | bfe0aa8c46149f67794cd45a4fdb259c57b521cf /include/paths.h | |
parent | d8059900ddf188607828b12a174b83decade3d61 (diff) |
Sync up w/ glibc
Diffstat (limited to 'include/paths.h')
-rw-r--r-- | include/paths.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/include/paths.h b/include/paths.h index 90edcf8fd..ae892c4cf 100644 --- a/include/paths.h +++ b/include/paths.h @@ -56,22 +56,24 @@ #define _PATH_PRESERVE "/var/lib" #define _PATH_RWHODIR "/var/spool/rwho" #define _PATH_SENDMAIL "/usr/sbin/sendmail" +#define _PATH_SHADOW "/etc/shadow" #define _PATH_SHELLS "/etc/shells" #define _PATH_TTY "/dev/tty" #define _PATH_UNIX "/boot/vmlinux" -#define _PATH_UTMP "/var/run/utmp" +#define _PATH_UTMP "/var/run/utmp" #define _PATH_VI "/usr/bin/vi" -#define _PATH_WTMP "/var/log/wtmp" -#define _PATH_LOCALE "/usr/lib/locale" -#define _PATH_LASTLOG "/var/log/lastlog" -#define _PATH_SHADOW "/etc/shadow" -#define _PATH_PASSWD "/etc/passwd" -#define _PATH_GROUP "/etc/group" +#define _PATH_WTMP "/var/log/wtmp" + +/* uClibc */ +#ifdef _LIBC +#define _PATH_PASSWD "/etc/passwd" +#define _PATH_GROUP "/etc/group" +#endif /* Provide trailing slash, since mostly used for building pathnames. */ #define _PATH_DEV "/dev/" #define _PATH_TMP "/tmp/" -#define _PATH_VARDB "/var/lib/misc/" +#define _PATH_VARDB "/var/db/" #define _PATH_VARRUN "/var/run/" #define _PATH_VARTMP "/var/tmp/" |