Mirror of the Vim source from https://github.com/vim/vim
Revision | 992d5c69d5e917b03abcee24d2fbed8348e21c23 (tree) |
---|---|
Time | 2006-10-13 04:14:26 |
Author | vimboss |
Commiter | vimboss |
updated for version 7.0-132
@@ -416,20 +416,20 @@ | ||
416 | 416 | msg_scroll = msg_save; |
417 | 417 | return FAIL; |
418 | 418 | } |
419 | - } | |
420 | -#endif | |
421 | - | |
422 | -#if defined(MSDOS) || defined(MSWIN) || defined(OS2) | |
423 | - /* | |
424 | - * MS-Windows allows opening a device, but we will probably get stuck | |
425 | - * trying to read it. | |
426 | - */ | |
427 | - if (!p_odev && mch_nodetype(fname) == NODE_WRITABLE) | |
428 | - { | |
429 | - filemess(curbuf, fname, (char_u *)_("is a device (disabled with 'opendevice' option"), 0); | |
430 | - msg_end(); | |
431 | - msg_scroll = msg_save; | |
432 | - return FAIL; | |
419 | + | |
420 | +# if defined(MSDOS) || defined(MSWIN) || defined(OS2) | |
421 | + /* | |
422 | + * MS-Windows allows opening a device, but we will probably get stuck | |
423 | + * trying to read it. | |
424 | + */ | |
425 | + if (!p_odev && mch_nodetype(fname) == NODE_WRITABLE) | |
426 | + { | |
427 | + filemess(curbuf, fname, (char_u *)_("is a device (disabled with 'opendevice' option"), 0); | |
428 | + msg_end(); | |
429 | + msg_scroll = msg_save; | |
430 | + return FAIL; | |
431 | + } | |
432 | +# endif | |
433 | 433 | } |
434 | 434 | #endif |
435 | 435 |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 132, | |
671 | +/**/ | |
670 | 672 | 131, |
671 | 673 | /**/ |
672 | 674 | 130, |