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

Comparing ray/src/hd/rhpict.c (file contents):
Revision 3.14 by schorsch, Sun Jul 27 22:12:02 2003 UTC vs.
Revision 3.15 by greg, Mon Oct 20 16:01:55 2003 UTC

# Line 8 | Line 8 | static const char      RCSid[] = "$Id$";
8   #include <string.h>
9  
10   #include "rholo.h"
11 + #include "platform.h"
12   #include "view.h"
13  
14   char    *progname;              /* our program name */
# Line 284 | Line 285 | initialize()                   /* initialize holodeck and buffers */
285          fd = dup(fileno(fp));                   /* dup file descriptor */
286          fclose(fp);                             /* done with stdio */
287          for (n = 0; nextloc > 0L; n++) {        /* initialize each section */
288 <                lseek(fd, (off_t)nextloc, 0);
288 >                lseek(fd, (off_t)nextloc, SEEK_SET);
289                  read(fd, (char *)&nextloc, sizeof(nextloc));
290                  hdinit(fd, NULL);
291          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines