--- ray/src/util/ranimove.c 2003/06/26 00:58:11 3.4 +++ ray/src/util/ranimove.c 2003/06/30 14:59:13 3.5 @@ -11,13 +11,16 @@ static const char RCSid[] = "$Id"; #include "copyright.h" -#include "ranimove.h" #include #ifndef _WIN32 #include #endif #include +#include +#include "paths.h" +#include "ranimove.h" + int NVARS = NV_INIT; /* total number of variables */ VARIABLE vv[] = VV_INIT; /* variable-value pairs */ @@ -244,7 +247,7 @@ setdefaults() /* set default values */ setrendparams(lorendoptf, vval(LOWQ)); ray_save(&lorendparams); curparams = &lorendparams; - twolevels = bcmp(&lorendparams, &hirendparams, sizeof(RAYPARAMS)); + twolevels = memcmp(&lorendparams, &hirendparams, sizeof(RAYPARAMS)); } @@ -385,7 +388,7 @@ char *rfargs; pippt = NULL; } if (pippt != NULL) - strcpy(pippt, "> /dev/null"); /* nothing to match */ + strcpy(pippt, "> " NULL_DEVICE); /* nothing to match */ else { strcpy(cp, ")[ \t]*=' > ranimove.var"); cp += 11; /* point to file name */