| # | Line 108 | Line 108 | report() /* report progress */ | |
|---|---|---|
| 108 | #else | |
| 109 | report() /* report progress */ | |
| 110 | { | |
| 111 | – | signal(SIGALRM, report); |
| 111 | tlastrept = time((long *)0); | |
| 112 | sprintf(errmsg, "%ld rays, %4.2f%% done after %5.4f hours\n", | |
| 113 | nrays, pctdone, (tlastrept-tstart)/3600.0); | |
| 114 | eputs(errmsg); | |
| 115 | + | signal(SIGALRM, report); |
| 116 | } | |
| 117 | #endif | |
| 118 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |