| # | 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); | |
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |