diff src/fileio.c @ 7410:08e62c4fc17d v7.4.1009

commit https://github.com/vim/vim/commit/53076830fea6df737455523f7e235bfe4f79864d Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 31 19:53:21 2015 +0100 patch 7.4.1009 Problem: There are still #ifdefs for ARCHIE. Solution: Remove references to ARCHIE, the code was removed in Vim 5.
author Christian Brabandt <cb@256bit.org>
date Thu, 31 Dec 2015 20:00:05 +0100
parents 1886f2863437
children 228ff048db20
line wrap: on
line diff
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3510,7 +3510,7 @@ buf_write(buf, fname, sfname, start, end
     /*
      * 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
 	}
     }
 
-#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)