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.7 by greg, Tue Jul 21 10:36:37 1992 UTC vs.
Revision 2.8 by greg, Thu Oct 15 21:13:21 1992 UTC

# Line 118 | Line 118 | char  *fname;
118                  sprintf(errmsg, "cannot open input file \"%s\"", fname);
119                  error(SYSTEM, errmsg);
120          }
121 + #ifdef MSDOS
122 +        if (inform != 'a')
123 +                setmode(fileno(fp), O_BINARY);
124 + #endif
125                                          /* set up output */
126          setoutput(outvals);
127          switch (outform) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines