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

Comparing ray/src/util/eplus_adduvf.c (file contents):
Revision 2.19 by greg, Fri Dec 13 16:00:33 2019 UTC vs.
Revision 2.20 by greg, Fri Jan 17 17:33:48 2020 UTC

# Line 709 | Line 709 | main(int argc, char *argv[])
709                  fputs("'\n", stderr);
710                  return(1);
711          }
712 +                                                /* check version (warning) */
713 +        if ((pptr = idf_getobject(our_idf, "Version")) != NULL &&
714 +                        pptr->flist != NULL && atoi(pptr->flist->val) != 7) {
715 +                fputs(progname, stderr);
716 +                fputs(": warning - written for IDF version 7.x, not ",
717 +                                stderr);
718 +                fputs(pptr->flist->val, stderr);
719 +                fputc('\n', stderr);
720 +        }
721                                                  /* remove existing UVFs */
722          if ((pptr = idf_getobject(our_idf, UVF_PNAME)) != NULL) {
723                  IDF_OBJECT      *pnext;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines