strc{py,at}_truncate -> strlc{py,at}

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6983 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-09-16 20:06:06 +00:00
parent 23d6d3764d
commit 8e441f1158
7 changed files with 22 additions and 20 deletions

View File

@@ -57,6 +57,6 @@ getcwd(char *path, size_t size)
char *ret;
ret = getwd(xxx);
if(ret)
strcpy_truncate(path, xxx, size);
strlcpy(path, xxx, size);
return ret;
}