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

Comparing ray/src/common/readmesh.c (file contents):
Revision 2.2 by greg, Fri Mar 14 21:27:46 2003 UTC vs.
Revision 2.3 by schorsch, Thu Jun 5 19:29:34 2003 UTC

# Line 244 | Line 244 | int    flags;
244                  sprintf(errmsg, "cannot open mesh file \"%s\"", path);
245                  error(SYSTEM, errmsg);
246          }
247 < #ifdef MSDOS
248 <        setmode(fileno(meshfp), O_BINARY);
249 < #endif
247 >        SET_FILE_BINARY(meshfp);
248                                          /* read header */
249          checkheader(meshfp, MESHFMT, flags&IO_INFO ? stdout : (FILE *)NULL);
250                                          /* read format number */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines