[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-list.c, 1.30, 1.31

cras at procontrol.fi cras at procontrol.fi
Tue Jun 15 06:20:15 EEST 2004


Update of /home/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv30351/src/lib-storage/index/maildir

Modified Files:
	maildir-list.c 
Log Message:
d_type symlink checks



Index: maildir-list.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/maildir/maildir-list.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- maildir-list.c	29 May 2004 22:21:39 -0000	1.30
+++ maildir-list.c	15 Jun 2004 03:20:12 -0000	1.31
@@ -95,8 +95,10 @@
 		/* check the type always since there's no extra cost */
 		if (d->d_type == DT_DIR)
 			;
-		else if (d->d_type != DT_UNKNOWN)
+		else if (d->d_type != DT_UNKNOWN && d->d_type != DT_LNK)
 			continue;
+		else if (d->d_type == DT_LNK && !stat_dirs)
+			;
 		else
 #endif
 		if (stat_dirs) {



More information about the dovecot-cvs mailing list