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.16 by greg, Thu Jun 9 18:33:06 2005 UTC

# Line 1045 | Line 1045 | recover_output(FILE *fin)
1045                                  break;          /* no bin separation */
1046                  }
1047                  if (!lastout) {                 /* empty output */
1048 <                        error(WARNING, "no data to recover");
1048 >                        error(WARNING, "no previous data to recover");
1049                          lu_done(&ofiletab);     /* reclose all outputs */
1050                          return;
1051                  }
# Line 1058 | Line 1058 | recover_output(FILE *fin)
1058                          mp->nbins = j;
1059                          ment->data = (char *)mp;
1060                  }
1061 +        }
1062 +        if (lastout < 0) {
1063 +                error(WARNING, "no output files to recover");
1064 +                return;
1065          }
1066                                                  /* seek on all files */
1067          nvals = lastout * outvsiz;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines