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

Comparing ray/src/cal/ev.c (file contents):
Revision 1.6 by schorsch, Fri Nov 14 17:31:24 2003 UTC vs.
Revision 1.7 by greg, Thu Sep 11 05:34:47 2008 UTC

# Line 33 | Line 33 | char  *argv[];
33          for (i = 1; i < argc; i++)
34                  printf("%.9g\n", eval(argv[i]));
35  
36 +        if (errno != EDOM && errno != ERANGE)
37 +                errno = 0;
38 +
39          quit(errno ? 2 : 0);
40          return (errno ? 2 : 0); /* pro forma return */
41   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines