[7.2.325] A stray "w" in the startup vimrc file causes the edited file to be
commite51a0f15acbc0691a9a322ea1b57cc6c95e595fd
authorBram Moolenaar <Bram@moolenaar.net>
Thu, 31 Dec 2009 14:52:29 +0000 (31 14:52 +0000)
committerBram Moolenaar <Bram@moolenaar.net>
Thu, 31 Dec 2009 14:52:29 +0000 (31 14:52 +0000)
tree1d9f4ee8a7071e6cca724feef1850fb5a9f9693f
parent87a435c0bf659b243e4deabab58079f0e4f2afab
[7.2.325] A stray "w" in the startup vimrc file causes the edited file to be

Problem:    A stray "w" in the startup vimrc file causes the edited file to be
            replaced with an empty file. (Stone Kang).

Solution:   Do not write a buffer when it has never been loaded.

Patch 7.2.325
src/fileio.c
src/version.c