mirror of
https://github.com/php/php-src.git
synced 2026-04-11 10:03:18 +02:00
(php_readdir_r) Last argument to readdir_r was missing.
This commit is contained in:
@@ -103,7 +103,7 @@ PHPAPI int php_readdir_r(DIR *dirp, struct dirent *entry,
|
||||
|
||||
errno = 0;
|
||||
|
||||
ret = readdir_r(dirp, entry);
|
||||
ret = readdir_r(dirp, entry, result);
|
||||
|
||||
if (ret == 0)
|
||||
*result = entry;
|
||||
|
||||
Reference in New Issue
Block a user