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

Comparing ray/src/rt/rtrace.c (file contents):
Revision 2.49 by schorsch, Mon Sep 19 11:30:10 2005 UTC vs.
Revision 2.50 by greg, Fri Oct 7 03:45:14 2005 UTC

# Line 215 | Line 215 | rtrace(                                /* trace rays from file */
215                  if (vcount && !--vcount)                /* check for end */
216                          break;
217          }
218 <        fflush(stdout);
218 >        if (fflush(stdout) < 0)
219 >                error(SYSTEM, "write error");
220          if (vcount)
221                  error(USER, "unexpected EOF on input");
222          if (fname != NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines