diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-05-10 15:55:06 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-05-10 15:57:29 -0700 |
commit | 3c3571fc107525cf3877ddd938e4d8f9b6526b6e (patch) | |
tree | 6c470bab15a8c2749811b82de1a484c5b3e0f82c | |
parent | 61f06bd3ba0a5c95ca7261cacb13025fa30f10f4 (diff) | |
download | glibc-3c3571fc107525cf3877ddd938e4d8f9b6526b6e.tar.gz glibc-3c3571fc107525cf3877ddd938e4d8f9b6526b6e.tar.xz glibc-3c3571fc107525cf3877ddd938e4d8f9b6526b6e.zip |
Hurd: Fix paths in paths.h
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/generic/paths.h | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index 89a6ccfa5a..fd5e9d3c7a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org> + * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man" + (_PATH_PRESERVE): Set to "/var/lib". + (_PATH_RWHODIR): Set to "/var/spool/rwho". + * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t instead of int. diff --git a/sysdeps/generic/paths.h b/sysdeps/generic/paths.h index 439992fe7b..f85e88cb95 100644 --- a/sysdeps/generic/paths.h +++ b/sysdeps/generic/paths.h @@ -46,15 +46,15 @@ #define _PATH_DRUM "/dev/drum" #define _PATH_GSHADOW "/etc/gshadow" #define _PATH_KMEM "/dev/kmem" -#define _PATH_MAILDIR "/var/mail" #define _PATH_LASTLOG "/var/log/lastlog" -#define _PATH_MAN "/usr/man" +#define _PATH_MAILDIR "/var/mail" +#define _PATH_MAN "/usr/share/man" #define _PATH_MEM "/dev/mem" #define _PATH_MNTTAB "/etc/fstab" #define _PATH_MOUNTED "/var/run/mtab" #define _PATH_NOLOGIN "/etc/nologin" -#define _PATH_PRESERVE "/var/preserve" -#define _PATH_RWHODIR "/var/rwho" +#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" |