--- ray/src/common/fropen.c 2003/05/13 17:58:32 2.10 +++ ray/src/common/fropen.c 2003/06/30 18:18:22 2.12 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: fropen.c,v 2.10 2003/05/13 17:58:32 greg Exp $"; +static const char RCSid[] = "$Id: fropen.c,v 2.12 2003/06/30 18:18:22 greg Exp $"; #endif /* * Find and open a Radiance library file. @@ -18,9 +18,9 @@ FILE * frlibopen(fname) /* find file and open for reading */ register char *fname; { - extern char *strcpy(), *getrlibpath(); + extern char *getrlibpath(); FILE *fp; - char pname[MAXPATH]; + char pname[PATH_MAX]; register char *sp, *cp; if (fname == NULL)