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

@@ -748,7 +748,7 @@ g_opendir(Char *str, glob_t *pglob)
char buf[MaxPathLen];
if (!*str)
strcpy_truncate(buf, ".", sizeof(buf));
strlcpy(buf, ".", sizeof(buf));
else
g_Ctoc(str, buf);