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.27 by greg, Tue Feb 25 02:47:23 2003 UTC vs.
Revision 2.28 by schorsch, Thu Jun 26 00:58:10 2003 UTC

# Line 204 | Line 204 | io_process()           /* just act as go-between for actual pro
204          }
205          if (nr < 0)
206                  error(SYSTEM, "error reading persist file");
207 + #ifndef _WIN32 /* XXX we need a replacement for that one */
208          ftruncate(persistfd, (off_t)0L);        /* truncate persist file */
209 + #endif
210          pfdetach();                     /* close & release persist file */
211          buf[nr] = '\0';                 /* parse what we got */
212          if ((cp = index(buf, ' ')) == NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines