diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-12-31 19:53:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-12-31 19:53:21 +0100 |
commit | 53076830fea6df737455523f7e235bfe4f79864d (patch) | |
tree | 7b093e6e84e19087f2d7b705df748fd72585b360 /src/fileio.c | |
parent | e7fedb6ebe72d9a475aa65109b77d5ed4667067a (diff) | |
download | vim-git-53076830fea6df737455523f7e235bfe4f79864d.tar.gz |
patch 7.4.1009v7.4.1009
Problem: There are still #ifdefs for ARCHIE.
Solution: Remove references to ARCHIE, the code was removed in Vim 5.
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c index 362d82ee0..75a38764c 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -3510,7 +3510,7 @@ buf_write(buf, fname, sfname, start, end, eap, append, forceit, /* * Get information about original file (if there is one). */ -#if defined(UNIX) && !defined(ARCHIE) +#if defined(UNIX) st_old.st_dev = 0; st_old.st_ino = 0; perm = -1; @@ -4126,7 +4126,7 @@ buf_write(buf, fname, sfname, start, end, eap, append, forceit, } } -#if defined(UNIX) && !defined(ARCHIE) +#if defined(UNIX) /* When using ":w!" and the file was read-only: make it writable */ if (forceit && perm >= 0 && !(perm & 0200) && st_old.st_uid == getuid() && vim_strchr(p_cpo, CPO_FWRITE) == NULL) |