# | Line 29 | Line 29 | static const char RCSid[] = "$Id$"; | |
---|---|---|
29 | #include "source.h" | |
30 | #include "otypes.h" | |
31 | #include "resolu.h" | |
32 | + | #include "random.h" |
33 | ||
34 | CUBE thescene; /* our scene */ | |
35 | OBJECT nsceneobjs; /* number of objects in our scene */ | |
# | Line 214 | 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) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |