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