safety: replace occurrences of strcpy by pstrcpy

This commit is contained in:
grischka
2013-01-31 11:29:45 +01:00
parent 370547a550
commit 2f6b8469cc
4 changed files with 11 additions and 21 deletions

View File

@ -1636,7 +1636,7 @@ PUB_FUNC char *tcc_default_target(TCCState *s, const char *default_file)
&& *ext)
strcpy(ext, ".o");
else
pstrcpy(buf, sizeof(buf), "a.out");
strcpy(buf, "a.out");
return tcc_strdup(buf);
}