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

Comparing ray/src/common/header.c (file contents):
Revision 2.26 by greg, Thu May 27 19:32:12 2010 UTC vs.
Revision 2.27 by greg, Sun Jun 10 02:46:12 2012 UTC

# Line 215 | Line 215 | getheader(             /* get header from file */
215                          return(-1);
216                  if (buf[0] == '\n')
217                          return(0);
218 #ifdef MSDOS
219                if (buf[0] == '\r' && buf[1] == '\n')
220                        return(0);
221 #endif
218                  if (buf[MAXLINE-2] != '\n') {
219                          ungetc(buf[MAXLINE-2], fp);     /* prevent false end */
220                          buf[MAXLINE-2] = '\0';

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines