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

Comparing ray/src/rt/data.c (file contents):
Revision 2.18 by greg, Thu May 15 05:13:35 2003 UTC vs.
Revision 2.19 by schorsch, Thu Jun 5 19:29:34 2003 UTC

# Line 8 | Line 8 | static const char      RCSid[] = "$Id$";
8   #include "copyright.h"
9  
10   #include  "standard.h"
11
11   #include  "color.h"
13
12   #include  "resolu.h"
15
13   #include  "data.h"
14  
15                                  /* picture memory usage before warning */
# Line 184 | Line 181 | char  *pname;
181                  sprintf(errmsg, "cannot open picture file \"%s\"", pfname);
182                  error(SYSTEM, errmsg);
183          }
184 < #ifdef MSDOS
188 <        setmode(fileno(fp), O_BINARY);
189 < #endif
184 >        SET_FILE_BINARY(fp);
185                                                  /* get dimensions */
186          inpaspect = 1.0;
187          getheader(fp, headaspect, (char *)&inpaspect);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines