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

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

# Line 8 | Line 8 | static const char      RCSid[] = "$Id$";
8   */
9  
10   #include "standard.h"
11
11   #include "color.h"
13
12   #include "calcomp.h"
15
13   #include "view.h"
14  
15   #define MAXINP          32              /* maximum number of input files */
# Line 83 | Line 80 | char   *argv[];
80          int     original;
81          double  f;
82          int     a, i;
83 < #ifdef MSDOS
84 <        extern int  _fmode;
85 <        _fmode = O_BINARY;
89 <        setmode(fileno(stdin), O_BINARY);
90 <        setmode(fileno(stdout), O_BINARY);
91 < #endif
83 >        SET_DEFAULT_BINARY();
84 >        SET_FILE_BINARY(stdin);
85 >        SET_FILE_BINARY(stdout);
86          progname = argv[0];
87                                                  /* scan options */
88          for (a = 1; a < argc; a++) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines