401 |
|
atos(fntemp, sizeof(fntemp), vval(PCMAP)); |
402 |
|
pcmapname = savqstr(fntemp); |
403 |
|
pcmapdate = fdate(pcmapname); |
404 |
– |
if (pgmapname == NULL && !nowarn) |
405 |
– |
fprintf(stderr, "%s: warning - '%s' assigned without '%s'\n", |
406 |
– |
progname, vnam(PCMAP), vnam(PGMAP)); |
404 |
|
} |
405 |
|
matdate = checklast(vval(MATERIAL)); |
406 |
|
} |
644 |
|
for (cp = combuf; *cp; cp++) |
645 |
|
; |
646 |
|
mkpmapopts(cp); |
647 |
+ |
/* force file overwrite */ |
648 |
+ |
cp = addarg(cp, "-fo+"); |
649 |
|
if (vdef(REPORT)) { |
650 |
|
char errfile[256]; |
651 |
|
int n; |
674 |
|
if (runcom(combuf)) { |
675 |
|
fprintf(stderr, "%s: error running %s\n", |
676 |
|
progname, c_mkpmap); |
677 |
< |
if (pgmapname != NULL) |
677 |
> |
if (pgmapname != NULL && pgmapdate < oct1date) |
678 |
|
unlink(pgmapname); |
679 |
< |
if (pcmapname != NULL) |
679 |
> |
if (pcmapname != NULL && pcmapdate < oct1date) |
680 |
|
unlink(pcmapname); |
681 |
|
quit(1); |
682 |
|
} |