shithub: rgbds

Download patch

ref: c3e212d399b7eb4a411b6bfa87ea7c67266339fc
parent: 80e957b5d55e1deb7155333adbd51c3190a66374
author: bentley <[email protected]>
date: Fri Jan 15 14:15:24 EST 2010

stop a strcpy() warning on OpenBSD

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