Don't strcpy after strdup.

This commit is contained in:
joerg 2008-08-26 14:38:55 +00:00
parent d664f40b97
commit 0051d8ebe6
1 changed files with 0 additions and 1 deletions

1
dist/nawk/tran.c vendored
View File

@ -407,7 +407,6 @@ char *tostring(const char *s) /* make a copy of string s */
p = strdup(s);
if (p == NULL)
FATAL("out of space in tostring on %s", s);
strcpy(p, s);
return(p);
}