summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2007-10-29 21:38:54 +0000
committervimboss <devnull@localhost>2007-10-29 21:38:54 +0000
commit618e0d9f076273709b69da0c6dbfac1cbaa5596d (patch)
tree1503f6eefc8e2d3503070b41775e2b4b2edfa458
parent9da6a6d638a5e3fc6090ad19ced9aa65a24e39ff (diff)
downloadvim-618e0d9f076273709b69da0c6dbfac1cbaa5596d.tar.gz
updated for version 7.1-146v7.1.146v7-1-146
-rw-r--r--src/Make_vms.mms5
-rw-r--r--src/fileio.c3
-rw-r--r--src/version.c2
3 files changed, 6 insertions, 4 deletions
diff --git a/src/Make_vms.mms b/src/Make_vms.mms
index b4f9be68..8c5f74ed 100644
--- a/src/Make_vms.mms
+++ b/src/Make_vms.mms
@@ -2,7 +2,7 @@
# Makefile for Vim on OpenVMS
#
# Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
-# Last change: 2007 May 07
+# Last change: 2007 Oct 22
#
# This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64
# with MMS and MMK
@@ -96,8 +96,7 @@ CCVER = YES
.IFDEF MMSVAX
.IFDEF DECC # VAX with DECC
-CC_DEF = cc # /decc # some system requires this switch
- # but when it is not required /ver might fail
+CC_DEF = cc # /decc # some system requires this switch but when it is not required /ver might fail
PREFIX = /prefix=all
.ELSE # VAX with VAXC
CC_DEF = cc
diff --git a/src/fileio.c b/src/fileio.c
index 594daf33..01663890 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4251,7 +4251,8 @@ restore_backup:
* they don't it adds one.
* With other RMS structures it works perfect without this fix.
*/
- if ((buf->b_fab_rat & (FAB$M_FTN | FAB$M_CR)) != 0)
+ if (buf->b_fab_rfm == FAB$C_VFC
+ || ((buf->b_fab_rat & (FAB$M_FTN | FAB$M_CR)) != 0))
{
int b2write;
diff --git a/src/version.c b/src/version.c
index 3c9d39a5..9806fb25 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 146,
+/**/
145,
/**/
144,