12 |
|
|
13 |
|
#include <stdio.h> |
14 |
|
#include <math.h> |
15 |
+ |
#include <sys/types.h> |
16 |
|
#include <ctype.h> |
17 |
|
#include "color.h" |
18 |
|
#include "paths.h" |
128 |
|
*filename(), *libname(), *fullname(), *malloc(), |
129 |
|
*getword(), *atos(); |
130 |
|
extern float *matchlamp(); |
131 |
+ |
extern time_t fdate(); |
132 |
|
|
133 |
|
#define scnint(fp,ip) cvtint(ip,getword(fp)) |
134 |
|
#define scnflt(fp,rp) cvtflt(rp,getword(fp)) |
1050 |
|
strcpy(cp, "| oconv - > "); |
1051 |
|
cp += 12; |
1052 |
|
fullname(cp,outname,T_OCT); |
1053 |
< |
if (system(buf)) { /* create octree */ |
1053 |
> |
if (fdate(inpname) > fdate(outname) && |
1054 |
> |
system(buf)) { /* create octree */ |
1055 |
|
fclose(outfp); |
1056 |
|
return(-1); |
1057 |
|
} |