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

Comparing ray/src/common/caldefn.c (file contents):
Revision 2.31 by greg, Sat Mar 12 17:21:10 2022 UTC vs.
Revision 2.32 by greg, Wed Mar 30 16:00:56 2022 UTC

# Line 210 | Line 210 | vardefined(    /* return '=' or ':' if variable/constant
210  
211  
212   char *
213 < setcontext(                     /* set a new context path */
213 > calcontext(                     /* set a new context path */
214          char  *ctx
215   )
216   {
# Line 251 | Line 251 | pushcontext(           /* push on another context */
251      int  n;
252  
253      strcpy(oldcontext, context);        /* save old context */
254 <    setcontext(ctx);                    /* set new context */
254 >    calcontext(ctx);                    /* set new context */
255      n = strlen(context);                /* tack on old */
256      if (n+strlen(oldcontext) > MAXCNTX) {
257          strncpy(context+n, oldcontext, MAXCNTX-n);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines