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.21 by greg, Thu Aug 5 16:25:05 1993 UTC vs.
Revision 2.22 by greg, Fri Aug 6 17:24:24 1993 UTC

# Line 493 | Line 493 | ambsync()                      /* synchronize ambient file */
493                          avinsert(avstore(&avs));
494                          n -= AMBVALSIZ;
495                  }
496 <                if (n)                          /* alignment */
496 >                /*** seek always as safety measure
497 >                if (n) ***/                     /* alignment */
498                          if (lseek(fileno(ambfp), flen-n, 0) < 0)
499                                  goto seekerr;
500          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines