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.15 by greg, Sat Oct 20 15:17:27 2018 UTC vs.
Revision 2.16 by greg, Fri Oct 26 23:45:56 2018 UTC

# Line 777 | Line 777 | main(int argc, char *argv[])
777          ign_header |= !has_header(typ1);        /* check headers if indicated */
778          if (!ign_header && !headers_match())
779                  return(1);
780 <        lu_done(&hdr1); lu_done(&hdr2);
780 >        lu_done(&hdr1); lu_done(&hdr2);         /* done with header info. */
781          if (!ign_header & (report >= REP_WARN)) {
782                if (typ1 == TYP_UNKNOWN)
783                        printf("%s: warning - unrecognized format, comparing as binary\n",
784                                        progname);
782                  if (lin1cnt != lin2cnt)
783                          printf("%s: warning - headers are different lengths\n",
784 +                                        progname);
785 +                if (typ1 == TYP_UNKNOWN)
786 +                        printf("%s: warning - unrecognized format\n",
787                                          progname);
788          }
789          if (report >= REP_VERBOSE)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines