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

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

# Line 232 | Line 232 | main(int argc, char *argv[])
232          if (mres == NULL)               /* check that we got something */
233                  goto userr;
234                                          /* write result to stdout */
235 + #ifdef getc_unlocked
236 +        flockfile(stdout);
237 + #endif
238 + #ifdef _WIN32
239 +        if (outfmt != DTascii)
240 +                _setmode(fileno(stdout), _O_BINARY);
241 + #endif
242          newheader("RADIANCE", stdout);
243          printargs(argc, argv, stdout);
244          nbw = rmx_write(mres, outfmt, stdout);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines