| 330 |
|
quit(0); |
| 331 |
|
} |
| 332 |
|
|
| 333 |
+ |
#ifndef SIGALRM |
| 334 |
+ |
#define SIGALRM SIGTERM |
| 335 |
+ |
#endif |
| 336 |
|
/* kill persistent rtrace process */ |
| 337 |
|
static void |
| 338 |
|
killpersist(void) |
| 339 |
|
{ |
| 340 |
|
FILE *fp = fopen(persistfn, "r"); |
| 341 |
< |
int pid; |
| 341 |
> |
RT_PID pid; |
| 342 |
|
|
| 343 |
|
if (fp == NULL) |
| 344 |
|
return; |
| 716 |
|
bn = (int)(evalue(mp->binv) + .5); |
| 717 |
|
if (bn <= 0) |
| 718 |
|
bn = 0; |
| 719 |
< |
else if (bn > mp->nbins) { /* new bin */ |
| 719 |
> |
else if (bn >= mp->nbins) { /* new bin */ |
| 720 |
|
mp = (MODCONT *)realloc(mp, sizeof(MODCONT) + |
| 721 |
|
bn*sizeof(DCOLOR)); |
| 722 |
|
if (mp == NULL) |