diff --git a/src/asm/output.c b/src/asm/output.c index c36b0e88..fe075cee 100644 --- a/src/asm/output.c +++ b/src/asm/output.c @@ -61,7 +61,7 @@ struct PatchSymbol *tHashedPatchSymbols[HASHSIZE]; struct Section *pSectionList = NULL, *pCurrentSection = NULL; struct PatchSymbol *pPatchSymbols = NULL; struct PatchSymbol **ppPatchSymbolsTail = &pPatchSymbols; -char tzObjectname[_MAX_PATH]; +char *tzObjectname; struct SectionStackEntry *pSectionStack = NULL; /* @@ -592,7 +592,7 @@ out_PrepPass2(void) void out_SetFileName(char *s) { - strcpy(tzObjectname, s); + tzObjectname = s; if (CurrentOptions.verbose) { printf("Output filename %s\n", s); }