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

Comparing ray/src/px/ra_skel.c (file contents):
Revision 2.2 by greg, Thu Dec 19 14:52:19 1991 UTC vs.
Revision 2.4 by greg, Thu Dec 17 15:50:13 1992 UTC

# Line 1 | Line 1
1 + /* Copyright (c) 1992 Regents of the University of California */
2 +
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
5   #endif
# Line 17 | Line 19 | static char SCCSid[] = "$SunId$ LBL";
19   */
20  
21   #include  <stdio.h>
22 + #ifdef MSDOS
23 + #include  <fcntl.h>
24 + #endif
25   #include  "color.h"
26   #include  "resolu.h"
27  
28 + extern char  *malloc();
29  
30   double  gamma = 2.2;                    /* gamma correction */
31  
# Line 71 | Line 77 | char  *argv[];
77                                  progname, argv[i+1]);
78                  exit(1);
79          }
80 + #ifdef MSDOS
81 +        setmode(fileno(stdin), O_BINARY);
82 +        setmode(fileno(stdout), O_BINARY);
83 + #endif
84          setcolrgam(gamma);              /* set up gamma correction */
85          if (reverse) {
86                                          /* get their image resolution */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines