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

Comparing ray/src/util/rtcontrib.c (file contents):
Revision 1.14 by greg, Thu Jun 9 17:27:28 2005 UTC vs.
Revision 1.15 by greg, Thu Jun 9 18:27:44 2005 UTC

# Line 1059 | Line 1059 | recover_output(FILE *fin)
1059                          ment->data = (char *)mp;
1060                  }
1061          }
1062 +        if (lastout < 0) {
1063 +                error(WARNING, "no existing output to recover");
1064 +                return;
1065 +        }
1066                                                  /* seek on all files */
1067          nvals = lastout * outvsiz;
1068          lu_doall(&ofiletab, myseeko, &nvals);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines