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

Comparing ray/src/common/calfunc.c (file contents):
Revision 2.24 by greg, Wed Jul 24 21:20:28 2019 UTC vs.
Revision 2.25 by greg, Thu Nov 7 23:19:54 2019 UTC

# Line 150 | Line 150 | funset(                                /* set a library function */
150          if (cp == fname) return;
151      }
152      if ((lp = liblookup(fname)) == NULL) {      /* insert */
153 +        if (fptr == NULL)
154 +                return;                         /* nothing! */
155          if (libsize >= MAXLIB) {
156              eputs("Too many library functons!\n");
157              quit(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines