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

Comparing ray/src/util/radcompare.c (file contents):
Revision 2.24 by greg, Tue Jun 30 22:53:05 2020 UTC vs.
Revision 2.25 by greg, Thu Jul 9 17:29:04 2020 UTC

# Line 475 | Line 475 | identify_type(const char *name, FILE *fin, LUTAB *htp)
475          }
476          if (c)
477                  return(TYP_BINARY);
478        SET_FILE_TEXT(fin);                     /* originally set to binary */
478          return(TYP_TEXT);
479   badeof:
480          if (report != REP_QUIET) {
# Line 560 | Line 559 | compare_text()
559                  fputs(progname, stdout);
560                  fputs(": comparing inputs as ASCII text\n", stdout);
561          }
562 +        SET_FILE_TEXT(f1in);                    /* originally set to binary */
563 +        SET_FILE_TEXT(f2in);
564          init_line(&l1buf); init_line(&l2buf);   /* compare a line at a time */
565          while (read_line(&l1buf, f1in)) {
566                  lin1cnt++;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines