416 |
|
if (!vdef(DISKSPACE)) { |
417 |
|
if (!nowarn) |
418 |
|
fprintf(stderr, |
419 |
< |
"%s: warning - no %s setting, assuming 100 Mbytes available\n", |
419 |
> |
"%s: warning - no %s setting, assuming 1000 Mbytes available\n", |
420 |
|
progname, vnam(DISKSPACE)); |
421 |
< |
vval(DISKSPACE) = "100"; |
421 |
> |
vval(DISKSPACE) = "1000"; |
422 |
|
vdef(DISKSPACE)++; |
423 |
|
} |
424 |
|
if (!vdef(RSH)) { |
708 |
|
*cp++ = ' '; |
709 |
|
sprintf(cp, fbase, i); |
710 |
|
while (*cp) cp++; |
711 |
< |
strcpy(cp, ".pic"); |
711 |
> |
strcpy(cp, ".hdr"); |
712 |
|
cp += 4; |
713 |
|
} |
714 |
|
if (runcom(combuf)) { /* transfer frames */ |
946 |
|
usepfilt |= nora_rgbe; |
947 |
|
} else if (frseq[0] == frame) { /* no interpolation needed */ |
948 |
|
if (!rvr && frame > 1+vint(INTERP)) { /* archive previous */ |
949 |
+ |
if (arcnext - arcargs + |
950 |
+ |
strlen(fbase) >= sizeof(arcargs)-8) { |
951 |
+ |
fprintf(stderr, |
952 |
+ |
"%s: too many filenames in archive command -- reduce %s variable\n", |
953 |
+ |
progname, vnam(DISKSPACE)); |
954 |
+ |
quit(1); |
955 |
+ |
} |
956 |
|
*arcnext++ = ' '; |
957 |
|
sprintf(arcnext, fbase, frame-vint(INTERP)-1); |
958 |
|
while (*arcnext) arcnext++; |
1061 |
|
} |
1062 |
|
/* output file name */ |
1063 |
|
sprintf(fname0, vval(BASENAME), frame); |
1064 |
< |
sprintf(combuf+strlen(combuf), " > %s.pic", fname0); |
1064 |
> |
sprintf(combuf+strlen(combuf), " > %s.hdr", fname0); |
1065 |
|
if (rvr) /* in recovery */ |
1066 |
|
return(runcom(combuf)); |
1067 |
|
bruncom(combuf, frame, frecover); /* else run in background */ |
1134 |
|
static char * |
1135 |
|
getexp(int n) /* get exposure for nth frame */ |
1136 |
|
{ |
1130 |
– |
extern char *fskip(); |
1137 |
|
static char expval[32]; |
1138 |
|
static FILE *expfp = NULL; |
1139 |
|
static long *exppos; |