--- ray/src/common/paths.h 1992/09/21 12:02:07 2.3 +++ ray/src/common/paths.h 1993/07/21 10:00:57 2.7 @@ -13,12 +13,13 @@ #define CASEDIRSEP case '/': case '\\' #define PATHSEP ';' #define MAXPATH 128 -#define TEMPLATE "c:\\tmp\\rtXXXXXX" -#define TEMPLEN 15 +#define TEMPLATE "rtXXXXXX" +#define TEMPLEN 8 #define ULIBVAR "RAYPATH" #ifndef DEFPATH #define DEFPATH ";c:/ray/lib" #endif +extern char *fixargv0(); #else #ifdef AMIGA @@ -32,18 +33,20 @@ #ifndef DEFPATH #define DEFPATH ";/ray/lib" #endif +#define fixargv0(a0) (a0) #else #define DIRSEP '/' #define PATHSEP ':' #define MAXPATH 256 -#define TEMPLATE "/tmp/rtXXXXXX" -#define TEMPLEN 13 +#define TEMPLATE "/usr/tmp/rtXXXXXX" +#define TEMPLEN 17 #define ULIBVAR "RAYPATH" #ifndef DEFPATH #define DEFPATH ":/usr/local/lib/ray" #endif +#define fixargv0(a0) (a0) #endif #endif