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

Comparing ray/src/px/pcond.c (file contents):
Revision 3.14 by greg, Sat Feb 22 02:07:27 2003 UTC vs.
Revision 3.15 by schorsch, Thu Jun 5 19:29:34 2003 UTC

# Line 6 | Line 6 | static const char      RCSid[] = "$Id$";
6   *  Added white-balance adjustment 10/01 (GW).
7   */
8  
9 + #include "platform.h"
10   #include "pcond.h"
11  
12  
# Line 162 | Line 163 | char   *argv[];
163                                          /* open output file */
164          if (i+2 == argc && freopen(argv[i+1], "w", stdout) == NULL)
165                  syserror(argv[i+1]);
166 < #ifdef MSDOS
167 <        setmode(fileno(infp), O_BINARY);
167 <        setmode(fileno(stdout), O_BINARY);
168 < #endif
166 >        SET_FILE_BINARY(infp);
167 >        SET_FILE_BINARY(stdout);
168          getahead();                     /* load input header */
169          printargs(argc, argv, stdout);  /* add to output header */
170          if (mbcalfile == NULL & outprims != stdprims)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines