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.6 by greg, Fri Jul 10 14:56:24 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) {
# Line 131 | Line 135 | char  *fname;
135          default:
136                  error(CONSISTENCY, "botched output format");
137          }
134        fputformat(formstr(outform), stdout);
135        putchar('\n');
138          if (hresolu > 0 && vresolu > 0)
139                  fprtresolu(hresolu, vresolu, stdout);
140                                          /* process file */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines