| 39 |
|
|
| 40 |
|
#define PACKSIZ 256 /* max. calculation packet size */ |
| 41 |
|
|
| 42 |
< |
#define RTCOM "rtrace -h- -ovl -fff " |
| 42 |
> |
#define RTCOM "rtrace -h- -ovl -fff -ld- -i- -I- " |
| 43 |
|
|
| 44 |
|
#define ABS(x) ((x)>0?(x):-(x)) |
| 45 |
|
|
| 328 |
|
} |
| 329 |
|
|
| 330 |
|
|
| 331 |
+ |
int |
| 332 |
|
headline(s) /* process header string */ |
| 333 |
|
char *s; |
| 334 |
|
{ |
| 335 |
|
char fmt[32]; |
| 336 |
|
|
| 337 |
|
if (isheadid(s)) |
| 338 |
< |
return; |
| 338 |
> |
return(0); |
| 339 |
|
if (formatval(fmt, s)) { |
| 340 |
|
if (globmatch(ourfmt, fmt)) { |
| 341 |
|
wrongformat = 0; |
| 342 |
|
strcpy(ourfmt, fmt); |
| 343 |
|
} else |
| 344 |
|
wrongformat = 1; |
| 345 |
< |
return; |
| 345 |
> |
return(0); |
| 346 |
|
} |
| 347 |
|
if (nvavg < 2) { |
| 348 |
|
putc('\t', stdout); |
| 350 |
|
} |
| 351 |
|
if (isexpos(s)) { |
| 352 |
|
theirexp *= exposval(s); |
| 353 |
< |
return; |
| 353 |
> |
return(0); |
| 354 |
|
} |
| 355 |
|
if (isview(s) && sscanview(&theirview, s) > 0) |
| 356 |
|
gotview++; |
| 357 |
+ |
return(0); |
| 358 |
|
} |
| 359 |
|
|
| 360 |
|
|
| 1171 |
|
} |
| 1172 |
|
/* mark end and get results */ |
| 1173 |
|
bzero((char *)fbp, 6*sizeof(float)); |
| 1174 |
< |
if (process(PDesc, fbuf, fbuf, 4*sizeof(float)*queuesiz, |
| 1174 |
> |
if (process(PDesc, fbuf, fbuf, 4*sizeof(float)*(queuesiz+1), |
| 1175 |
|
6*sizeof(float)*(queuesiz+1)) != |
| 1176 |
< |
4*sizeof(float)*queuesiz) { |
| 1176 |
> |
4*sizeof(float)*(queuesiz+1)) { |
| 1177 |
|
fprintf(stderr, "%s: error reading from rtrace process\n", |
| 1178 |
|
progname); |
| 1179 |
|
exit(1); |