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

Comparing ray/src/hd/rholo.c (file contents):
Revision 3.54 by greg, Thu May 29 16:26:22 2003 UTC vs.
Revision 3.56 by greg, Fri Jun 13 15:27:04 2003 UTC

# Line 152 | Line 152 | userr:
152   }
153  
154  
155 + void
156   onsig(signo)                            /* fatal signal */
157   int  signo;
158   {
# Line 430 | Line 431 | HDGRID *gp;
431          putw(HOLOMAGIC, fp);            /* put magic number */
432          fd = dup(fileno(fp));
433          fclose(fp);                     /* flush and close stdio stream */
434 <        lastloc = lseek(fd, (off_t)0L, 2);
434 >        lastloc = lseek(fd, (off_t)0, 2);
435          for (n = vdef(SECTION); n--; gp++) {    /* initialize each section */
436                  nextloc = 0L;
437                  write(fd, (char *)&nextloc, sizeof(nextloc));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines