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

Comparing src/rt/persist.c (file contents):
Revision 2.43 by greg, Fri Nov 8 18:08:07 2013 UTC vs.
Revision 2.45 by greg, Sat Jun 7 05:09:46 2025 UTC

# Line 25 | Line 25 | static const char      RCSid[] = "$Id$";
25   #include "ray.h"
26  
27   #ifdef F_SETLKW
28 #include "paths.h"
28   #include "selcall.h"
29  
30   #ifndef TIMELIM
# Line 203 | Line 202 | io_process(void)               /* just act as go-between for actual
202          }
203          if (nr < 0)
204                  error(SYSTEM, "error reading persist file");
206 #ifndef _WIN32 /* XXX we need a replacement for that one */
205          ftruncate(persistfd, (off_t)0L);        /* truncate persist file */
208 #endif
206          pfdetach();                     /* close & release persist file */
207          buf[nr] = '\0';                 /* parse what we got */
208          if ((cp = strchr(buf, ' ')) == NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)