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

Comparing ray/src/util/getinfo.c (file contents):
Revision 2.24 by greg, Mon Mar 21 17:11:29 2022 UTC vs.
Revision 2.26 by greg, Thu Mar 16 17:16:05 2023 UTC

# Line 62 | Line 62 | adjheadline(                   /* check for lines to remove */
62                  }
63                  if (s1 == s)
64                          continue;
65 <                if (isspace(*s1) && !*s2 | isspace(*s2))
66 <                        return(0);      /* skip */
65 >                if ((*s1 == '=') & !*s2)
66 >                        return(0);
67 >                if (isspace(*s1) & isspace(*s2))
68 >                        return(0);
69          }
70          fputs(s, stdout);       /* copy if no match */
71          return(0);
# Line 234 | Line 236 | main(
236   #endif
237                          if (dim < 0) {                  /* dimensions only */
238                                  if (getheader(fp, NULL, NULL) < 0) {
239 <                                        fputs("bad header!\n", stdout);
239 >                                        fputs(": bad header!\n", stdout);
240                                          continue;      
241                                  }
242                                  fputs(": ", stdout);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines