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

Comparing ray/src/cal/rcalc.c (file contents):
Revision 1.5 by schorsch, Sun Jun 8 12:03:09 2003 UTC vs.
Revision 1.6 by schorsch, Thu Jul 3 22:41:44 2003 UTC

# Line 616 | Line 616 | getfield(                             /* get next fiel
616   register struct field  *f
617   )
618   {
619 <        static char  buf[MAXWORD+1];            /* no recursion! */
619 >        static char  buf[RMAXWORD+1];            /* no recursion! */
620          int  delim, inword;
621          double  d;
622          char  *np;
# Line 661 | Line 661 | register struct field  *f
661                                  *cp++ = ipb.chr;
662                                  scaninp();
663                          }
664 <                } while (inword && cp < &buf[MAXWORD]);
664 >                } while (inword && cp < &buf[RMAXWORD]);
665                  *cp = '\0';
666                  if (f->f.sv->val == NULL)
667                          f->f.sv->val = savqstr(buf);    /* first setting */
# Line 690 | Line 690 | register struct field  *f
690                                  *cp++ = ipb.chr;
691                                  scaninp();
692                          }
693 <                } while (inword && cp < &buf[MAXWORD]);
693 >                } while (inword && cp < &buf[RMAXWORD]);
694                  *cp = '\0';
695                  d = np==NULL ? 0. : atof(np);
696                  if (!vardefined(f->f.nv))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines