stop a strcpy() warning on OpenBSD

This commit is contained in:
bentley
2010-01-15 19:15:24 -07:00
parent 80e957b5d5
commit c3e212d399

View File

@@ -238,14 +238,12 @@ fstk_FindFile(char *s)
*/ */
ULONG ULONG
fstk_RunInclude(char *s) fstk_RunInclude(char *tzFileName)
{ {
FILE *f; FILE *f;
char tzFileName[_MAX_PATH + 1];
//printf("INCLUDE: %s\n", s); //printf("INCLUDE: %s\n", s);
strcpy(tzFileName, s);
fstk_FindFile(tzFileName); fstk_FindFile(tzFileName);
//printf("INCLUDING: %s\n", tzFileName); //printf("INCLUDING: %s\n", tzFileName);