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

Comparing ray/src/common/lamps.c (file contents):
Revision 2.3 by greg, Mon Aug 23 10:12:43 1993 UTC vs.
Revision 2.5 by greg, Mon Oct 16 09:21:46 1995 UTC

# Line 10 | Line 10 | static char SCCSid[] = "$SunId$ LBL";
10  
11   #include  <stdio.h>
12   #include  <ctype.h>
13 + #include  "color.h"
14  
15   extern char     *eindex(), *expsave(), *malloc();
16 < extern FILE     *fropen();
16 > extern FILE     *frlibopen();
17  
18   typedef struct lamp {
19          char    *pattern;                       /* search pattern */
# Line 48 | Line 49 | char   *file;
49          char    buf[128], str[128];
50          register char   *cp1, *cp2;
51  
52 <        if ((fp = fropen(file)) == NULL)
52 >        if ((fp = frlibopen(file)) == NULL)
53                  return(0);
54          lastp = NULL;
55          while (fgets(buf, sizeof(buf), fp) != NULL) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines