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

Comparing ray/src/rt/ambient.c (file contents):
Revision 2.68 by greg, Thu Oct 14 05:54:44 2010 UTC vs.
Revision 2.69 by greg, Mon Jun 27 22:10:37 2011 UTC

# Line 518 | Line 518 | initambfile(           /* initialize ambient file */
518          static char  *mybuf = NULL;
519  
520   #ifdef  F_SETLKW
521 <        aflock(creat ? F_WRLCK : F_RDLCK);
521 >        aflock(cre8 ? F_WRLCK : F_RDLCK);
522   #endif
523          SET_FILE_BINARY(ambfp);
524          if (mybuf == NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines