forked from aniani/vim
updated for version 7.0-132
This commit is contained in:
parent
2cc9318401
commit
c67764a705
26
src/fileio.c
26
src/fileio.c
@ -416,20 +416,20 @@ readfile(fname, sfname, from, lines_to_skip, lines_to_read, eap, flags)
|
|||||||
msg_scroll = msg_save;
|
msg_scroll = msg_save;
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(MSDOS) || defined(MSWIN) || defined(OS2)
|
# if defined(MSDOS) || defined(MSWIN) || defined(OS2)
|
||||||
/*
|
/*
|
||||||
* MS-Windows allows opening a device, but we will probably get stuck
|
* MS-Windows allows opening a device, but we will probably get stuck
|
||||||
* trying to read it.
|
* trying to read it.
|
||||||
*/
|
*/
|
||||||
if (!p_odev && mch_nodetype(fname) == NODE_WRITABLE)
|
if (!p_odev && mch_nodetype(fname) == NODE_WRITABLE)
|
||||||
{
|
{
|
||||||
filemess(curbuf, fname, (char_u *)_("is a device (disabled with 'opendevice' option"), 0);
|
filemess(curbuf, fname, (char_u *)_("is a device (disabled with 'opendevice' option"), 0);
|
||||||
msg_end();
|
msg_end();
|
||||||
msg_scroll = msg_save;
|
msg_scroll = msg_save;
|
||||||
return FAIL;
|
return FAIL;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -666,6 +666,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 */
|
||||||
|
/**/
|
||||||
|
132,
|
||||||
/**/
|
/**/
|
||||||
131,
|
131,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user