1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Fix a bug in UIDL handling for maildir boxes, which could lead to clients

receiving duplicated messages.

Submitted by:	author
This commit is contained in:
Sheldon Hearn 2003-06-24 12:56:12 +00:00
parent 017fec6462
commit d24202a838
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83531
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= popd
PORTVERSION= 2.2.2a
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp3.za.freebsd.org/pub/popd/

View File

@ -0,0 +1,11 @@
--- lib/mbox_maildir.c.orig Tue Jun 24 14:37:19 2003
+++ lib/mbox_maildir.c Tue Jun 24 14:38:18 2003
@@ -190,7 +190,7 @@
(MDIR_F_EXPIRE | MDIR_F_REMOVE) &&
cxn->flags & MAILBOX_F_FALSEUIDL ?
time(NULL) : mbox->msg[mbox->count].d_time,
- mbox->msg[mbox->count].path,
+ dp->d_name,
mbox->msg[mbox->count].bytes);
MD5Init(&context);
MD5Update(&context, (unsigned char *)uidldat,