From 3c3571fc107525cf3877ddd938e4d8f9b6526b6e Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 10 May 2012 15:55:06 -0700 Subject: Hurd: Fix paths in paths.h --- ChangeLog | 4 ++++ sysdeps/generic/paths.h | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 89a6ccf..fd5e9d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-05-10 Samuel Thibault + * 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 439992f..f85e88c 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" -- cgit v1.1