more files
This commit is contained in:
17
src/files.c
17
src/files.c
@@ -759,8 +759,6 @@ d_level *lev;
|
|||||||
Sprintf(eos(dptr), ".%d", lev->dlevel);
|
Sprintf(eos(dptr), ".%d", lev->dlevel);
|
||||||
#ifdef SYSCF
|
#ifdef SYSCF
|
||||||
idx = sysopt.bonesformat[0];
|
idx = sysopt.bonesformat[0];
|
||||||
if (idx > historical && idx <= ascii)
|
|
||||||
Strcat(dptr, sfoprocs[idx].ext);
|
|
||||||
#endif
|
#endif
|
||||||
#ifdef VMS
|
#ifdef VMS
|
||||||
Strcat(dptr, ";1");
|
Strcat(dptr, ";1");
|
||||||
@@ -951,11 +949,6 @@ boolean regularize_it;
|
|||||||
const char *postappend = (const char *) 0,
|
const char *postappend = (const char *) 0,
|
||||||
*sfindicator = (const char *) 0;
|
*sfindicator = (const char *) 0;
|
||||||
|
|
||||||
#ifdef SYSCF
|
|
||||||
idx = sysopt.saveformat[0];
|
|
||||||
if (idx > historical && idx <= ascii)
|
|
||||||
sfindicator = sfoprocs[idx].ext;
|
|
||||||
#endif
|
|
||||||
if (g.program_state.in_self_recover) {
|
if (g.program_state.in_self_recover) {
|
||||||
/* self_recover needs to be done as historical
|
/* self_recover needs to be done as historical
|
||||||
structlevel content until that process is
|
structlevel content until that process is
|
||||||
@@ -1036,15 +1029,7 @@ boolean regularize_it;
|
|||||||
if (strlen(g.SAVEF) + strlen(SAVE_EXTENSION) < (SAVESIZE - 1)) {
|
if (strlen(g.SAVEF) + strlen(SAVE_EXTENSION) < (SAVESIZE - 1)) {
|
||||||
Strcat(g.SAVEF, SAVE_EXTENSION);
|
Strcat(g.SAVEF, SAVE_EXTENSION);
|
||||||
#ifdef MSDOS
|
#ifdef MSDOS
|
||||||
#ifdef SYSCF
|
sfindicator = "";
|
||||||
if (idx >= historical && idx <= ascii) {
|
|
||||||
/* we did leave room for the extra char in SAVE_EXTENSION */
|
|
||||||
g.SAVEF[strlen(g.SAVEF)-1] =
|
|
||||||
(idx == lendian) ? 'l' :
|
|
||||||
(idx == ascii) ? 'a' : '\0';
|
|
||||||
}
|
|
||||||
sfindicator = (g.program_state.in_self_recover) ? "" : sfoprocs[idx].ext;
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
} else
|
} else
|
||||||
overflow = 3;
|
overflow = 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user