Mercurial > vim
diff src/ex_cmds.c @ 1438:c7654c4db8fd v7.1.153
updated for version 7.1-153
author | vimboss |
---|---|
date | Thu, 08 Nov 2007 19:49:02 +0000 |
parents | bdcfe793d49f |
children | 215d6b2a1816 |
line wrap: on
line diff
--- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -1774,7 +1774,8 @@ write_viminfo(file, forceit) * 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