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

Comparing ray/src/common/wordfile.c (file contents):
Revision 2.20 by greg, Wed Apr 27 17:26:45 2016 UTC vs.
Revision 2.21 by greg, Thu May 12 16:30:39 2016 UTC

# Line 38 | Line 38 | wordfile(                      /* get words from fname, put in words */
38                  return(-1);
39          if ((fd = open(fname, 0)) < 0)
40                  return(-1);                     /* open error */
41 +        SET_FD_BINARY(fd);                      /* Windows bug workaround */
42          words[0] = NULL;
43          while (nargs > 1 && (n += read(fd, buf+n, MAXWLEN-n)) > 0) {
44                  int     crem = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines