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

Comparing ray/src/cv/pkgBSDF.c (file contents):
Revision 2.6 by greg, Sun Aug 11 00:54:12 2013 UTC vs.
Revision 2.7 by greg, Tue Aug 18 15:23:38 2015 UTC

# Line 90 | Line 90 | cvtBSDF(char *fname)
90          char    *pname, *fnbeg;
91                                          /* find and load the XML file */
92          retOK = strlen(fname);
93 <        if (retOK < 5 || strcmp(fname+retOK-4, ".xml")) {
93 >        if (retOK < 5 || strcasecmp(fname+retOK-4, ".xml")) {
94                  fprintf(stderr, "%s: input does not end in '.xml'\n", fname);
95                  return(0);
96          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines