9 |
|
|
10 |
|
#include <ctype.h> |
11 |
|
#include <time.h> |
12 |
+ |
#include <signal.h> |
13 |
|
|
14 |
|
#include "platform.h" |
15 |
|
#include "rtprocess.h" |
645 |
|
for (cp = combuf; *cp; cp++) |
646 |
|
; |
647 |
|
mkpmapopts(cp); |
648 |
+ |
/* force file overwrite */ |
649 |
+ |
cp = addarg(cp, "-fo+"); |
650 |
|
if (vdef(REPORT)) { |
651 |
|
char errfile[256]; |
652 |
|
int n; |
675 |
|
if (runcom(combuf)) { |
676 |
|
fprintf(stderr, "%s: error running %s\n", |
677 |
|
progname, c_mkpmap); |
678 |
< |
if (pgmapname != NULL) |
678 |
> |
if (pgmapname != NULL && pgmapdate < oct1date) |
679 |
|
unlink(pgmapname); |
680 |
< |
if (pcmapname != NULL) |
680 |
> |
if (pcmapname != NULL && pcmapdate < oct1date) |
681 |
|
unlink(pcmapname); |
682 |
|
quit(1); |
683 |
|
} |