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

Comparing ray/src/rt/persist.c (file contents):
Revision 2.31 by schorsch, Sat Aug 30 09:03:31 2003 UTC vs.
Revision 2.32 by greg, Mon Oct 20 16:01:55 2003 UTC

# Line 15 | Line 15 | static const char      RCSid[] = "$Id$";
15  
16   #include "rtprocess.h" /* getpid() */
17   #include "standard.h"
18 + #include "platform.h"
19   #include "random.h"
20  
21   #ifdef F_SETLKW
# Line 136 | Line 137 | pfhold()               /* holding pattern for idle rendering proces
137          n = strlen(buf);
138          if (write(persistfd, buf, n) < n)
139                  error(SYSTEM, "error writing persist file");
140 <        lseek(persistfd, (off_t)0L, 0);
140 >        lseek(persistfd, (off_t)0, SEEK_SET);
141                                  /* wait TIMELIM for someone to signal us */
142          got_io = 0;
143          signal(SIGIO, sig_io);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines