svn commit: samba r3986 - in trunk/source/modules: .

jelmer at samba.org jelmer at samba.org
Sat Nov 27 19:01:23 GMT 2004


Author: jelmer
Date: 2004-11-27 19:01:23 +0000 (Sat, 27 Nov 2004)
New Revision: 3986

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3986

Log:
64bit bug fix

Modified:
   trunk/source/modules/vfs_netatalk.c


Changeset:
Modified: trunk/source/modules/vfs_netatalk.c
===================================================================
--- trunk/source/modules/vfs_netatalk.c	2004-11-27 18:57:44 UTC (rev 3985)
+++ trunk/source/modules/vfs_netatalk.c	2004-11-27 19:01:23 UTC (rev 3986)
@@ -148,7 +148,7 @@
 static void atalk_rrmdir(TALLOC_CTX *ctx, char *path)
 {
 	char *dpath;
-	struct dirent *dent = 0;
+	SMB_STRUCT_DIRENT *dent = 0;
 	DIR *dir;
 
 	if (!path) return;
@@ -156,7 +156,7 @@
 	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;



More information about the samba-cvs mailing list