# 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
.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
* 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;