]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.1287: temp file used for viminfo may have wrong permissions v8.0.1287
authorBram Moolenaar <Bram@vim.org>
Sat, 11 Nov 2017 15:45:19 +0000 (16:45 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 11 Nov 2017 15:45:19 +0000 (16:45 +0100)
commitaeeb6888ca3ee5122793b37c5aacc6c960b02c37
treefd3290b3796b4fdfd96fa8a71dfac88db3f48422
parent5fd8b78214a52b561780eb5ba000b1a3f5ba1d3d
patch 8.0.1287: temp file used for viminfo may have wrong permissions

Problem:    The temp file used when updating the viminfo file may have the
            wrong permissions if setting the group fails.
Solution:   Check if the group matches and reduce permissions if not.
src/ex_cmds.c
src/version.c