commit | 6f1924547b30753738ea0eb41ab31513894fde83 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Nov 08 19:49:02 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Nov 08 19:49:02 2007 +0000 |
tree | 96f66ba95fffc6689f546ec87d4054853be3fab3 | |
parent | a443af88a48d74b56ea9aa2aa486f52f340bbf77 [diff] [blame] |
updated for version 7.1-153
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 32de576..ede122c 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c
@@ -1774,7 +1774,8 @@ * overwrite a user's viminfo file after a "su root", with a * viminfo file that the user can't read. */ - st_old.st_dev = st_old.st_ino = 0; + st_old.st_dev = 0; + st_old.st_ino = 0; st_old.st_mode = 0600; if (mch_stat((char *)fname, &st_old) == 0 && getuid() != ROOT_UID