add a patch to unbreak being able to use symlinks with Maildir, bug introduced

in 0.99.10.6.
--
From: Dovecot author via Kevin Cramer <kcramer at siscom dot net>
This commit is contained in:
brad 2004-06-25 18:04:13 +00:00
parent 161c196b68
commit 7cf6b22d34
2 changed files with 14 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.7 2004/06/22 21:05:20 brad Exp $
# $OpenBSD: Makefile,v 1.8 2004/06/25 18:04:13 brad Exp $
COMMENT= "compact IMAP/POP3 server"
DISTNAME= dovecot-0.99.10.6
PKGNAME= ${DISTNAME}p1
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_lib-storage_index_maildir_maildir-list_c,v 1.1 2004/06/25 18:04:13 brad Exp $
--- src/lib-storage/index/maildir/maildir-list.c.orig Sat Jun 19 18:54:53 2004
+++ src/lib-storage/index/maildir/maildir-list.c Fri Jun 25 13:38:14 2004
@@ -100,7 +100,7 @@ static int maildir_fill_readdir(struct m
/* 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
#endif