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

Comparing ray/src/rt/rc2.c (file contents):
Revision 2.20 by greg, Fri Sep 16 04:49:15 2016 UTC vs.
Revision 2.21 by greg, Fri Sep 16 05:06:07 2016 UTC

# Line 588 | Line 588 | recover_output()
588                                  sprintf(errmsg, "missing recover file '%s'",
589                                                  oname);
590                                  error(WARNING, errmsg);
591 +                                lastout = 0;
592                                  break;
593                          }
594                          nvals = lseek(fileno(sop->ofp), 0, SEEK_END);
# Line 620 | Line 621 | recover_output()
621                  }
622                  if (!lastout) {                 /* empty output */
623                          error(WARNING, "no previous data to recover");
624 <                        lu_done(&ofiletab);     /* reclose all outputs */
624 >                                                /* reclose all outputs */
625 >                        lu_doall(&ofiletab, &myclose, NULL);
626                          return;
627                  }
628          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines