# | Line 59 | Line 59 | static void printdefaults(void); | |
---|---|---|
59 | ||
60 | ||
61 | void | |
62 | < | quit(int code) /* quit program -- called from ray_done() */ |
62 | > | quit(int code) /* quit program */ |
63 | { | |
64 | if (ray_pnprocs < 0) | |
65 | _exit(code); /* avoid flush in child */ | |
# | Line 499 | Line 499 | progReporter(double pct) | |
499 | static time_t lastReportTime = 0; | |
500 | time_t tnow = time(NULL); | |
501 | ||
502 | < | if (tnow - lastReportTime < ralrm) |
502 | > | if (pct < 100.-FTINY && tnow - lastReportTime < ralrm) |
503 | return; // too soon, my Precious... | |
504 | ||
505 | sprintf(errmsg, "%7.3f%% done after %7.3f hours\n", pct, (tnow-tstart)/3600.); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |