some, but not all, vms issues fixed

This commit is contained in:
nhmall
2019-11-12 19:58:48 -05:00
parent ec91626316
commit bc0d78138f
6 changed files with 39 additions and 14 deletions

View File

@@ -1036,7 +1036,7 @@ boolean regularize_it;
Sprintf(g.SAVEF, "[.save]%d%s", getuid(), g.plname);
regoffset = 7;
indicator_spot = 1;
postappend = ";1");
postappend = ";1";
#endif
#if defined(WIN32)
if (regularize_it) {

View File

@@ -11,11 +11,13 @@
#include "patchlevel.h"
#endif
#ifdef VMS
/* We don't want to rewrite the whole file, because that entails
creating a new version which requires that the old one be deletable. */
#define UPDATE_RECORD_IN_PLACE
#endif
/* If UPDATE_RECORD_IN_PLACE is defined, we don't want to rewrite the
* whole file, because that entails creating a new version which
* requires that the old one be deletable. UPDATE_RECORD_IN_PLACE
* had to be defined more centrally in 3.7 to ensure that the
* final_fpos field gets included in struct instance_globals aka 'g'.
*/
/*
* Updating in place can leave junk at the end of the file in some