mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Sync with openbsd glob.c 1.19
This commit is contained in:
parent
9143760ecd
commit
9d04bf58e3
1 changed files with 1 additions and 1 deletions
|
@ -825,7 +825,7 @@ g_opendir(str, pglob)
|
|||
char buf[MAXPATHLEN];
|
||||
|
||||
if (!*str)
|
||||
strcpy(buf, ".");
|
||||
strlcpy(buf, ".", sizeof buf);
|
||||
else {
|
||||
if (g_Ctoc(str, buf, sizeof(buf)))
|
||||
return(NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue