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.43 by greg, Fri Nov 8 18:08:07 2013 UTC vs.
Revision 2.44 by schorsch, Sun Mar 6 01:13:18 2016 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines