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

Comparing ray/src/util/ranimove.c (file contents):
Revision 3.4 by schorsch, Thu Jun 26 00:58:11 2003 UTC vs.
Revision 3.5 by schorsch, Mon Jun 30 14:59:13 2003 UTC

# Line 11 | Line 11 | static const char RCSid[] = "$Id";
11  
12   #include "copyright.h"
13  
14 #include "ranimove.h"
14   #include <time.h>
15   #ifndef _WIN32
16    #include <sys/time.h>
17   #endif
18   #include <ctype.h>
19 + #include <string.h>
20  
21 + #include "paths.h"
22 + #include "ranimove.h"
23 +
24   int             NVARS = NV_INIT; /* total number of variables */
25  
26   VARIABLE        vv[] = VV_INIT; /* variable-value pairs */
# Line 244 | Line 247 | setdefaults()                  /* set default values */
247          setrendparams(lorendoptf, vval(LOWQ));
248          ray_save(&lorendparams);
249          curparams = &lorendparams;
250 <        twolevels = bcmp(&lorendparams, &hirendparams, sizeof(RAYPARAMS));
250 >        twolevels = memcmp(&lorendparams, &hirendparams, sizeof(RAYPARAMS));
251   }
252  
253  
# Line 385 | Line 388 | char   *rfargs;
388                          pippt = NULL;
389                  }
390          if (pippt != NULL)
391 <                strcpy(pippt, "> /dev/null");   /* nothing to match */
391 >                strcpy(pippt, "> " NULL_DEVICE);        /* nothing to match */
392          else {
393                  strcpy(cp, ")[ \t]*=' > ranimove.var");
394                  cp += 11;               /* point to file name */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines