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

Comparing ray/src/hd/rhinfo.c (file contents):
Revision 3.14 by greg, Fri Oct 5 19:19:16 2018 UTC vs.
Revision 3.15 by greg, Mon Oct 21 18:19:32 2019 UTC

# Line 52 | Line 52 | gethdinfo(             /* get information on holodeck */
52          off_t   nextloc, fsiz;
53          int     n;
54                                          /* open holodeck file */
55 <        if ((fp = fopen(fname, "r")) == NULL) {
55 >        if ((fp = fopen(fname, "rb")) == NULL) {
56                  sprintf(errmsg, "cannot open \"%s\"", fname);
57                  error(SYSTEM, errmsg);
58          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines