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

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

# Line 58 | Line 58 | char  *ofn[];
58                          error(SYSTEM, errmsg);
59                  }
60          }
61 < #ifdef MSDOS
62 <        setmode(fileno(infp), O_BINARY);
63 < #endif
61 >        SET_FILE_BINARY(infp);
62                                          /* get header */
63          if (checkheader(infp, OCTFMT, load&IO_INFO ? stdout : (FILE *)NULL) < 0)
64                  octerror(USER, "not an octree");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines