summaryrefslogtreecommitdiff
path: root/files/pathnames.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'files/pathnames.h.in')
-rw-r--r--files/pathnames.h.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/files/pathnames.h.in b/files/pathnames.h.in
index f1c2821f41c0..eb03f11d979a 100644
--- a/files/pathnames.h.in
+++ b/files/pathnames.h.in
@@ -13,9 +13,8 @@
#define _PATH_NEXRC ".nexrc"
#endif
-#ifndef _PATH_PRESERVE
-#define _PATH_PRESERVE "@vi_cv_path_preserve@"
-#endif
+/* On linux _PATH_PRESERVE is only writable by root */
+#define NVI_PATH_PRESERVE "@vi_cv_path_preserve@"
#ifndef _PATH_SYSEXRC
#define _PATH_SYSEXRC "/etc/vi.exrc"