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

Comparing ray/src/gen/xform.c (file contents):
Revision 2.24 by greg, Tue Mar 11 19:29:05 2003 UTC vs.
Revision 2.27 by greg, Fri Jun 27 22:27:45 2003 UTC

# Line 9 | Line 9 | static const char RCSid[] = "$Id$";
9   *     11/6/86          Finally added error checking!
10   */
11  
12 #include  "standard.h"
13
14 #include  "paths.h"
15
12   #include  <ctype.h>
13  
14 + #include  "standard.h"
15 + #include  "platform.h"
16 + #include  "paths.h"
17   #include  "object.h"
19
18   #include  "otypes.h"
19  
20   int  xac;                               /* global xform argument count */
# Line 930 | Line 928 | char  *iname;
928          }
929          strcpy(curfn, iname);                   /* remember input name */
930                                                  /* get full path for file */
931 <        if ((fpath = getpath(iname, getlibpath(), R_OK)) == NULL) {
931 >        if ((fpath = getpath(iname, getrlibpath(), R_OK)) == NULL) {
932                  fprintf(stderr, "%s: cannot find file \"%s\"\n",
933                                  progname, iname);
934                  exit(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines