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.26 by schorsch, Sun Jun 8 12:03:10 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 + #include  <stdio.h>
14  
15 + #include  "standard.h"
16 + #include  "platform.h"
17 + #include  "paths.h"
18   #include  "object.h"
19
19   #include  "otypes.h"
20  
21   int  xac;                               /* global xform argument count */
# Line 930 | Line 929 | char  *iname;
929          }
930          strcpy(curfn, iname);                   /* remember input name */
931                                                  /* get full path for file */
932 <        if ((fpath = getpath(iname, getlibpath(), R_OK)) == NULL) {
932 >        if ((fpath = getpath(iname, getrlibpath(), R_OK)) == NULL) {
933                  fprintf(stderr, "%s: cannot find file \"%s\"\n",
934                                  progname, iname);
935                  exit(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines