r3987: Use sys_readdir() instead of readdir()
authorJelmer Vernooij <jelmer@samba.org>
Sat, 27 Nov 2004 19:02:45 +0000 (19:02 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:27 +0000 (10:53 -0500)
source/modules/vfs_netatalk.c

index eea00f1275a26df41e49a4ff0ce0ece96003378a..68b8aad0ac55784b343095ec3bac002ec3d0312d 100644 (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;