diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2020-10-01 04:25:54 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2020-10-01 04:25:54 +0000 |
commit | b4ed613595432ece6802d09bfabad18e09aa26f3 (patch) | |
tree | bd2db6b09b756624c1b2babdd12ea05a9dffcdaf /files/pathnames.h.in | |
parent | 7cef6c685d23e4dcdf3f64b0b2ea92151e652db6 (diff) | |
download | src-vendor/nvi.tar.gz src-vendor/nvi.zip |
Import nvi 2.2.0-05ed8b9vendor/nvi/2.2.0-05ed8b9vendor/nvi
This snapshot just brings a bunch of fixes in particular a fix for vi -w
PR: 241985
Reported by: fernape
Notes
Notes:
svn path=/vendor/nvi/dist/; revision=366307
svn path=/vendor/nvi/2.2.0-05ed8b9/; revision=366308; tag=vendor/nvi/2.2.0-05ed8b9
Diffstat (limited to 'files/pathnames.h.in')
-rw-r--r-- | files/pathnames.h.in | 5 |
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" |