1
0
forked from aniani/vim

updated for version 7.0-132

This commit is contained in:
Bram Moolenaar 2006-10-12 19:14:26 +00:00
parent 2cc9318401
commit c67764a705
2 changed files with 15 additions and 13 deletions

View File

@ -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

View File

@ -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,
/**/ /**/