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

Comparing ray/src/cal/tabfunc.c (file contents):
Revision 1.10 by greg, Thu Mar 18 03:09:34 2021 UTC vs.
Revision 1.11 by greg, Wed Feb 28 03:17:23 2024 UTC

# Line 106 | Line 106 | FILE   *fp
106                                  goto fatal;
107                          }
108                          ordinate[i][tabsize] = atof(cp);
109 <                        if ((cp = fskip(cp)) == NULL) {
109 >                        if ((cp = fskip(cp)) == NULL || !isdelim(*cp)) {
110                                  err = "bad floating-point format";
111                                  goto fatal;
112                          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines