ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/rxcmain.cpp
(Generate patch)

Comparing ray/src/rt/rxcmain.cpp (file contents):
Revision 2.3 by greg, Wed Oct 30 02:22:23 2024 UTC vs.
Revision 2.5 by greg, Wed Oct 30 19:53:37 2024 UTC

# Line 74 | Line 74 | onsig(                         /* fatal signal */
74                  _exit(signo);
75  
76   #ifdef SIGALRM
77 <        alarm(15);                      /* allow 15 seconds to clean up */
77 >        alarm(180);                     /* allow 3 minutes to clean up */
78          signal(SIGALRM, SIG_DFL);       /* make certain we do die */
79   #endif
80          eputs("signal - ");
# Line 184 | Line 184 | main(int argc, char *argv[])
184                                          /* initialize calcomp routines early */
185          initfunc();
186          calcontext(RCCONTEXT);
187        esupport &= ~E_REDEFW;          /* temporary */
187                                          /* option city */
188          for (i = 1; i < argc; i++) {
189                                                  /* expand arguments */
# Line 307 | Line 306 | main(int argc, char *argv[])
306          if (i != argc-1)
307                  error(USER, "expected single octree argument");
308  
310        esupport |= E_REDEFW;
309          override_options();             /* override some option settings */
310  
311          if (!myRCmanager.GetOutput())   // check that we have work to do
# Line 497 | Line 495 | rxcontrib(const int rstart)
495                  time_t  tnow;
496                  if (!getRayBundle(odarr))
497                          goto readerr;
498 <                if (myRCmanager.ComputeRecord(odarr) < 0)
498 >                if (myRCmanager.ComputeRecord(odarr) <= 0)
499                          return;         // error reported, hopefully...
500                  r++;
501                  if (report_intvl <= 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines