]>
Commit | Line | Data |
---|---|---|
7bf01cab ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.146 (extra) | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.1.146 (extra) | |
11 | Problem: VMS: Files with a very rare record organization (VFC) cannot be | |
12 | properly written by Vim. | |
13 | On older VAX systems mms runs into a syntax error. | |
14 | Solution: Check for this special situation. Do not wrap a comment, make it | |
15 | one long line. (Zoltan Arpadffy) | |
16 | Files: src/fileio.c, src/Make_vms.mms | |
17 | ||
18 | ||
19 | *** ../vim-7.1.145/src/fileio.c Wed Oct 3 12:49:24 2007 | |
20 | --- src/fileio.c Mon Oct 22 21:10:00 2007 | |
21 | *************** | |
22 | *** 4251,4257 **** | |
23 | * they don't it adds one. | |
24 | * With other RMS structures it works perfect without this fix. | |
25 | */ | |
26 | ! if ((buf->b_fab_rat & (FAB$M_FTN | FAB$M_CR)) != 0) | |
27 | { | |
28 | int b2write; | |
29 | ||
30 | --- 4252,4259 ---- | |
31 | * they don't it adds one. | |
32 | * With other RMS structures it works perfect without this fix. | |
33 | */ | |
34 | ! if (buf->b_fab_rfm == FAB$C_VFC | |
35 | ! || ((buf->b_fab_rat & (FAB$M_FTN | FAB$M_CR)) != 0)) | |
36 | { | |
37 | int b2write; | |
38 | ||
39 | *** ../vim-7.1.145/src/Make_vms.mms Thu May 10 20:47:35 2007 | |
40 | --- src/Make_vms.mms Mon Oct 22 21:13:08 2007 | |
41 | *************** | |
42 | *** 2,8 **** | |
43 | # Makefile for Vim on OpenVMS | |
44 | # | |
45 | # Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com> | |
46 | ! # Last change: 2007 May 07 | |
47 | # | |
48 | # This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64 | |
49 | # with MMS and MMK | |
50 | --- 2,8 ---- | |
51 | # Makefile for Vim on OpenVMS | |
52 | # | |
53 | # Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com> | |
54 | ! # Last change: 2007 Oct 22 | |
55 | # | |
56 | # This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64 | |
57 | # with MMS and MMK | |
58 | *************** | |
59 | *** 96,103 **** | |
60 | ||
61 | .IFDEF MMSVAX | |
62 | .IFDEF DECC # VAX with DECC | |
63 | ! CC_DEF = cc # /decc # some system requires this switch | |
64 | ! # but when it is not required /ver might fail | |
65 | PREFIX = /prefix=all | |
66 | .ELSE # VAX with VAXC | |
67 | CC_DEF = cc | |
68 | --- 96,102 ---- | |
69 | ||
70 | .IFDEF MMSVAX | |
71 | .IFDEF DECC # VAX with DECC | |
72 | ! CC_DEF = cc # /decc # some system requires this switch but when it is not required /ver might fail | |
73 | PREFIX = /prefix=all | |
74 | .ELSE # VAX with VAXC | |
75 | CC_DEF = cc | |
76 | *** ../vim-7.1.145/src/version.c Fri Oct 19 20:39:56 2007 | |
77 | --- src/version.c Mon Oct 29 22:36:20 2007 | |
78 | *************** | |
79 | *** 668,669 **** | |
80 | --- 668,671 ---- | |
81 | { /* Add new patch number below this line */ | |
82 | + /**/ | |
83 | + 146, | |
84 | /**/ | |
85 | ||
86 | -- | |
87 | Be thankful to be in a traffic jam, because it means you own a car. | |
88 | ||
89 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
90 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
91 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
92 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |