| 9 |
|
#include "rcontrib.h" |
| 10 |
|
#include "source.h" |
| 11 |
|
#include "otypes.h" |
| 12 |
– |
#include "platform.h" |
| 12 |
|
|
| 13 |
|
char *shm_boundary = NULL; /* boundary of shared memory */ |
| 14 |
|
|
| 136 |
|
} |
| 137 |
|
|
| 138 |
|
|
| 139 |
< |
/* add modifiers from a file list */ |
| 139 |
> |
/* Add modifiers from a file list */ |
| 140 |
|
void |
| 141 |
|
addmodfile(char *fname, char *outf, char *binv, int bincnt) |
| 142 |
|
{ |
| 158 |
|
) |
| 159 |
|
{ |
| 160 |
|
if (nchild > 0) /* close children if any */ |
| 161 |
< |
end_children(); |
| 161 |
> |
end_children(code != 0); |
| 162 |
|
exit(code); |
| 163 |
|
} |
| 164 |
|
|
| 335 |
|
if (raysleft && !--raysleft) |
| 336 |
|
break; /* preemptive EOI */ |
| 337 |
|
} |
| 338 |
< |
if ((accumulate <= 0) | (account < accumulate)) { |
| 338 |
> |
if (nchild != -1 && (accumulate <= 0) | (account < accumulate)) { |
| 339 |
|
if (account < accumulate) { |
| 340 |
|
error(WARNING, "partial accumulation in final record"); |
| 341 |
|
accumulate -= account; |