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

Comparing ray/src/common/getpath.c (file contents):
Revision 2.3 by greg, Tue Jun 16 13:29:35 1992 UTC vs.
Revision 2.4 by greg, Mon Jul 13 16:33:19 1992 UTC

# Line 10 | Line 10 | static char SCCSid[] = "$SunId$ LBL";
10  
11   #define  NULL           0
12  
13 + #ifndef  NIX
14   #include  <pwd.h>
15 + #endif
16  
17   #ifndef DIRSEP
18   #define DIRSEP          '/'
# Line 29 | Line 31 | register char  *fname;
31   register char  *searchpath;
32   int  mode;
33   {
34 <        static char  pname[256];
34 > #ifndef  NIX
35          struct passwd  *pwent;
36 + #endif
37 +        static char  pname[256];
38          register char  *cp;
39  
40          if (fname == NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines