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

Comparing ray/src/cal/total.c (file contents):
Revision 1.8 by greg, Fri Jun 7 18:49:30 2013 UTC vs.
Revision 1.9 by greg, Sun Mar 9 20:07:27 2014 UTC

# Line 241 | Line 241 | char  *fname
241          }
242          if (nbicols)
243                  SET_FILE_BINARY(fp);
244 + #ifdef getc_unlocked                            /* avoid lock/unlock overhead */
245 +        flockfile(fp);
246 + #endif
247 +
248          ltotal = 0;
249          while (!feof(fp)) {
250                  if (ltotal == 0) {                      /* initialize */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines