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.14 by greg, Mon Oct 11 10:02:15 2004 UTC vs.
Revision 1.16 by greg, Fri Dec 10 05:52:14 2004 UTC

# Line 25 | Line 25 | static const char RCSid[] = "$Id$";
25  
26   #define  isblnk(c)      (igneol ? isspace(c) : (c)==' '||(c)=='\t')
27  
28 < #define  INBSIZ         4096    /* longest record */
28 > #define  INBSIZ         16384   /* longest record */
29   #define  MAXCOL         32      /* number of columns recorded */
30  
31                                  /* field type specifications */
# Line 634 | Line 634 | getrec(void)                           /* get next record from file */
634          register struct field  *f;
635  
636          while (ipb.chr != EOF) {
637                eatline = !igneol && ipb.chr != '\n';
637                  if (blnkeq)             /* beware of nbsynch() */
638                          while (isblnk(ipb.chr))
639                                  resetinp();
640 +                eatline = (!igneol && ipb.chr != '\n');
641                  clearrec();             /* start with fresh record */
642                  for (f = inpfmt; f != NULL; f = f->next)
643                          if (getfield(f) == -1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines