1
0
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:
Jelmer Vernooij 2004-11-27 19:02:45 +00:00 committed by Gerald (Jerry) Carter
parent 5cee4e9478
commit 7751f46cc7

View File

@ -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;