| 1 |
< |
/* Copyright (c) 1994 Regents of the University of California */ |
| 1 |
> |
/* Copyright (c) 1995 Regents of the University of California */ |
| 2 |
|
|
| 3 |
|
#ifndef lint |
| 4 |
|
static char SCCSid[] = "$SunId$ LBL"; |
| 563 |
|
extern FILE *popen(); |
| 564 |
|
static double oorg[3], osiz = 0.; |
| 565 |
|
double min[3], max[3]; |
| 566 |
< |
char buf[512]; |
| 566 |
> |
char buf[1024]; |
| 567 |
|
FILE *fp; |
| 568 |
|
register int i; |
| 569 |
|
|
| 689 |
|
oconv() /* run oconv and mkillum if necessary */ |
| 690 |
|
{ |
| 691 |
|
static char illumtmp[] = "ilXXXXXX"; |
| 692 |
< |
char combuf[512], ocopts[64], mkopts[64]; |
| 692 |
> |
char combuf[1024], ocopts[64], mkopts[64]; |
| 693 |
|
|
| 694 |
|
oconvopts(ocopts); /* get options */ |
| 695 |
|
if (octreedate < scenedate) { /* check date on original octree */ |
| 777 |
|
"%s: error generating octree\n\t%s removed\n", |
| 778 |
|
progname, oct1name); |
| 779 |
|
unlink(oct1name); |
| 780 |
+ |
unlink(illumtmp); |
| 781 |
|
exit(1); |
| 782 |
|
} |
| 783 |
|
rmfile(illumtmp); |