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.10 by greg, Tue Feb 25 02:47:21 2003 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1992 Regents of the University of California */
2 <
3 < /* SCCSid "$SunId$ LBL" */
4 <
1 > /* RCSid $Id$ */
2   /*
3   * Definitions for paths on different machines
4   */
5  
6 + #include "copyright.h"
7 +
8   #ifdef MSDOS
9  
10   #define DIRSEP          '/'
# Line 13 | Line 12
12   #define CASEDIRSEP      case '/': case '\\'
13   #define PATHSEP         ';'
14   #define MAXPATH         128
15 < #define TEMPLATE        "c:\\tmp\\rtXXXXXX"
16 < #define TEMPLEN         15
15 > #define TEMPLATE        "rtXXXXXX"
16 > #define TEMPLEN         8
17   #define ULIBVAR         "RAYPATH"
18   #ifndef DEFPATH
19   #define DEFPATH         ";c:/ray/lib"
# Line 40 | Line 39 | extern char  *fixargv0();
39   #define DIRSEP          '/'
40   #define PATHSEP         ':'
41   #define MAXPATH         256
42 < #define TEMPLATE        "/tmp/rtXXXXXX"
43 < #define TEMPLEN         13
42 > #define TEMPLATE        "/usr/tmp/rtXXXXXX"
43 > #define TEMPLEN         17
44   #define ULIBVAR         "RAYPATH"
45   #ifndef DEFPATH
46   #define DEFPATH         ":/usr/local/lib/ray"
# Line 59 | Line 58 | extern char  *fixargv0();
58   #endif
59  
60   extern char  *mktemp(), *getenv();
61 +
62 + #ifdef BSD
63 + extern char  *getwd();
64 + #else
65 + extern char  *getcwd();
66 + #define  getwd(p)       getcwd(p, sizeof(p))
67 + #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines