mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
r3987: Use sys_readdir() instead of readdir()
This commit is contained in:
parent
5cee4e9478
commit
7751f46cc7
@ -156,7 +156,7 @@ static void atalk_rrmdir(TALLOC_CTX *ctx, char *path)
|
||||
dir = opendir(path);
|
||||
if (!dir) return;
|
||||
|
||||
while (NULL != (dent = readdir(dir))) {
|
||||
while (NULL != (dent = sys_readdir(dir))) {
|
||||
if (strcmp(dent->d_name, ".") == 0 ||
|
||||
strcmp(dent->d_name, "..") == 0)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user