1261 |
|
) |
1262 |
|
{ |
1263 |
|
#define do_rpiece (sfile[0]!='\0') |
1264 |
< |
char combuf[4*PATH_MAX+512]; |
1264 |
> |
char combuf[5*PATH_MAX+512]; |
1265 |
|
char rawfile[PATH_MAX], picfile[PATH_MAX]; |
1266 |
|
char zopt[PATH_MAX+4], rep[PATH_MAX+16], res[32]; |
1267 |
< |
char rppopt[128], sfile[64], *pfile = NULL; |
1267 |
> |
char rppopt[32], sfile[PATH_MAX], *pfile = NULL; |
1268 |
|
char pfopts[128]; |
1269 |
|
char vs[32], *vw; |
1270 |
|
int vn, mult; |
1316 |
|
getview(0, vs) != NULL) { |
1317 |
|
if (!strcmp(c_rpict, DEF_RPICT_PATH) && |
1318 |
|
getview(1, NULL) == NULL) { |
1319 |
< |
sprintf(sfile, "rpsync_%s.txt", vs); |
1319 |
> |
sprintf(sfile, "%s_%s_rpsync.txt", |
1320 |
> |
vdef(RAWFILE) ? vval(RAWFILE) : vval(PICTURE), |
1321 |
> |
vs); |
1322 |
|
strcpy(rppopt, "-PP pfXXXXXX"); |
1323 |
|
} else { |
1324 |
|
strcpy(rppopt, "-S 1 -PP pfXXXXXX"); |
1361 |
|
if (do_rpiece) { |
1362 |
|
if (rfdt < oct1date || !fdate(sfile)) { |
1363 |
|
int xdiv = 8+nprocs/3, ydiv = 8+nprocs/3; |
1364 |
+ |
if (rfdt >= oct1date) { |
1365 |
+ |
fprintf(stderr, |
1366 |
+ |
"%s: partial output not created with rpiece\n", rawfile); |
1367 |
+ |
quit(1); |
1368 |
+ |
} |
1369 |
|
rfdt = 0; /* start fresh */ |
1370 |
|
if (!silent) |
1371 |
|
printf("\techo %d %d > %s\n", |