ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/paths.h
(Generate patch)

Comparing ray/src/common/paths.h (file contents):
Revision 2.4 by greg, Fri Oct 9 10:26:17 1992 UTC vs.
Revision 2.8 by greg, Mon Jun 24 10:01:11 1996 UTC

# Line 13 | Line 13
13   #define CASEDIRSEP      case '/': case '\\'
14   #define PATHSEP         ';'
15   #define MAXPATH         128
16 < #define TEMPLATE        "c:\\tmp\\rtXXXXXX"
17 < #define TEMPLEN         15
16 > #define TEMPLATE        "rtXXXXXX"
17 > #define TEMPLEN         8
18   #define ULIBVAR         "RAYPATH"
19   #ifndef DEFPATH
20   #define DEFPATH         ";c:/ray/lib"
# Line 40 | Line 40 | extern char  *fixargv0();
40   #define DIRSEP          '/'
41   #define PATHSEP         ':'
42   #define MAXPATH         256
43 < #define TEMPLATE        "/tmp/rtXXXXXX"
44 < #define TEMPLEN         13
43 > #define TEMPLATE        "/usr/tmp/rtXXXXXX"
44 > #define TEMPLEN         17
45   #define ULIBVAR         "RAYPATH"
46   #ifndef DEFPATH
47   #define DEFPATH         ":/usr/local/lib/ray"
# Line 59 | Line 59 | extern char  *fixargv0();
59   #endif
60  
61   extern char  *mktemp(), *getenv();
62 +
63 + #ifdef BSD
64 + extern char  *getwd();
65 + #else
66 + extern char  *getcwd();
67 + #define  getwd(p)       getcwd(p, sizeof(p))
68 + #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines