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

Comparing ray/src/hd/rhinfo.c (file contents):
Revision 3.4 by gwlarson, Wed Feb 3 10:48:06 1999 UTC vs.
Revision 3.5 by greg, Sat Feb 22 02:07:25 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1998 Silicon Graphics, Inc. */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ SGI";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   * Get general information on holodeck file
6   */
# Line 60 | Line 57 | FILE   *fout;
57          nextloc = ftell(fp);                    /* get stdio position */
58          fclose(fp);                             /* done with stdio */
59          for (n = 0; nextloc > 0L; n++) {        /* get the section(s) */
60 <                lseek(fd, (long)nextloc, 0);
60 >                lseek(fd, (off_t)nextloc, 0);
61                  read(fd, (char *)&nextloc, sizeof(nextloc));
62                  fprintf(fout, "Section %d:\n", n);
63                  hdsect = hdinit(fd, NULL);      /* load section directory */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines