merge strcpy_truncate branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -748,7 +748,7 @@ g_opendir(Char *str, glob_t *pglob)
|
||||
char buf[MaxPathLen];
|
||||
|
||||
if (!*str)
|
||||
strcpy(buf, ".");
|
||||
strcpy_truncate(buf, ".", sizeof(buf));
|
||||
else
|
||||
g_Ctoc(str, buf);
|
||||
|
||||
|
Reference in New Issue
Block a user