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

Comparing ray/src/util/rmatrix.c (file contents):
Revision 2.6 by greg, Sat Aug 2 17:10:43 2014 UTC vs.
Revision 2.7 by greg, Tue Aug 5 21:45:05 2014 UTC

# Line 191 | Line 191 | rmx_load(const char *fname)
191  
192          if (fname == NULL) {                    /* reading from stdin? */
193                  fname = "<stdin>";
194 + #ifdef _WIN32
195 +                _setmode(fileno(stdin), _O_BINARY);
196 + #endif
197          } else {
198                  const char      *sp = fname;    /* check suffix */
199                  while (*sp)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines