mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.2-325
This commit is contained in:
@@ -2981,6 +2981,13 @@ buf_write(buf, fname, sfname, start, end, eap, append, forceit,
|
|||||||
|
|
||||||
if (fname == NULL || *fname == NUL) /* safety check */
|
if (fname == NULL || *fname == NUL) /* safety check */
|
||||||
return FAIL;
|
return FAIL;
|
||||||
|
if (buf->b_ml.ml_mfp == NULL)
|
||||||
|
{
|
||||||
|
/* This can happen during startup when there is a stray "w" in the
|
||||||
|
* vimrc file. */
|
||||||
|
EMSG(_(e_emptybuf));
|
||||||
|
return FAIL;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Disallow writing from .exrc and .vimrc in current directory for
|
* Disallow writing from .exrc and .vimrc in current directory for
|
||||||
|
@@ -681,6 +681,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
325,
|
||||||
/**/
|
/**/
|
||||||
324,
|
324,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user