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

Comparing ray/src/ot/obj2mesh.c (file contents):
Revision 2.4 by greg, Fri Apr 18 21:47:45 2003 UTC vs.
Revision 2.5 by schorsch, Thu Jun 5 19:29:34 2003 UTC

# Line 73 | Line 73 | char  *argv[];
73          if (i == argc-2)                /* open output file */
74                  if (freopen(argv[i+1], "w", stdout) == NULL)
75                          error(SYSTEM, "cannot open output file");
76 < #ifdef MSDOS
77 <        setmode(fileno(stdout), O_BINARY);
78 < #endif
76 >        SET_FILE_BINARY(stdout);
77          newheader("RADIANCE", stdout);  /* new binary file header */
78          printargs(i<argc ? i+1 : argc, argv, stdout);
79          fputformat(MESHFMT, stdout);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines