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

Comparing ray/src/px/pfilt.c (file contents):
Revision 2.22 by greg, Tue Feb 25 00:26:05 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   *     6/23/93  Added additional buffers for value spreading
9   */
10  
11 #include  "standard.h"
12
11   #include  <signal.h>
12  
13 + #include  "standard.h"
14   #include  "color.h"
16
15   #include  "view.h"
18
16   #include  "paths.h"
17  
18   extern float  *matchlamp();
# Line 95 | Line 92 | char  **argv;
92          double  outaspect = 0.0;
93          double  d;
94          int  i, j;
95 < #ifdef MSDOS
96 <        extern int  _fmode;
97 <        _fmode = O_BINARY;
101 <        setmode(fileno(stdin), O_BINARY);
102 <        setmode(fileno(stdout), O_BINARY);
103 < #endif
95 >        SET_DEFAULT_BINARY();
96 >        SET_FILE_BINARY(stdin);
97 >        SET_FILE_BINARY(stdout);
98          if (signal(SIGINT, quit) == SIG_IGN)
99                  signal(SIGINT, SIG_IGN);
100          if (signal(SIGHUP, quit) == SIG_IGN)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines