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.27 by greg, Tue Sep 20 17:05:11 2005 UTC vs.
Revision 1.28 by greg, Wed Sep 21 17:17:24 2005 UTC

# Line 915 | Line 915 | wait_rproc(void)
915                                  if (rt->bsiz + BUFSIZ <= treebufsiz)
916                                          rt->bsiz = treebufsiz;
917                                  else
918 <                                        rt->bsiz = treebufsiz += BUFSIZ;
918 >                                        treebufsiz = rt->bsiz += BUFSIZ;
919                                  rt->buf = (char *)realloc(rt->buf, rt->bsiz);
920                          }
921                          if (rt->buf == NULL)
# Line 1109 | Line 1109 | recover_output(FILE *fin)
1109                                                  /* seek on all files */
1110          nvals = lastout * outvsiz;
1111          lu_doall(&ofiletab, myseeko, &nvals);
1112 <                                                /* discard input */
1112 >                                                /* skip repeated input */
1113          for (nvals = 0; nvals < lastout; nvals++)
1114                  if (getinp(oname, fin) <= 0)
1115                          error(USER, "unexpected EOF on input");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines