summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-12-02 00:44:04 +0000
committerBram Moolenaar <Bram@vim.org>2005-12-02 00:44:04 +0000
commitc6039d8fcbcc991de374c50f0a2f7ffb96d8437c (patch)
tree71cb54e2725079d2ecf9d1df62ac39ac385455cb /src/fileio.c
parentbba577a24244bd5d95044ab4bc23628e48d1ff08 (diff)
downloadvim-git-c6039d8fcbcc991de374c50f0a2f7ffb96d8437c.tar.gz
updated for version 7.0162
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 302e93a51..eaa2bd1b4 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5800,7 +5800,9 @@ vim_rename(from, to)
errmsg = _("E210: Error reading \"%s\"");
to = from;
}
+#ifndef UNIX /* for Unix mch_open() already set ther permission */
mch_setperm(to, perm);
+#endif
#ifdef HAVE_ACL
mch_set_acl(to, acl);
#endif