mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Fix a problem where teapop wasn't fully deleting messages and dumping
core. Bump PORTREVISION. Submitted by: John Brooks <john@day-light.com>
This commit is contained in:
parent
8e007120e5
commit
c5fe748506
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57483
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= teapop
|
||||
PORTVERSION= 0.3.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ftp://ftp.toontown.org/pub/teapop/ \
|
||||
http://www.toontown.org/pub/teapop/
|
||||
|
13
mail/teapop-devel/files/patch-ac
Normal file
13
mail/teapop-devel/files/patch-ac
Normal file
@ -0,0 +1,13 @@
|
||||
--- teapop/pop_lock.c.orig Sun Mar 31 09:12:59 2002
|
||||
+++ teapop/pop_lock.c Sun Mar 31 09:14:38 2002
|
||||
@@ -239,6 +239,10 @@
|
||||
{
|
||||
struct flock lock_data;
|
||||
|
||||
+ /* xpinfo is unset if no mailbox is opened */
|
||||
+ if (xpinfo == NULL)
|
||||
+ return;
|
||||
+
|
||||
/* Maildir OR mbox */
|
||||
if (xpinfo->mboxtype == 1 || xpinfo->locktype & LOCK_DOTLOCK) {
|
||||
(void)unlink(xpinfo->dotlock);
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= teapop
|
||||
PORTVERSION= 0.3.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ftp://ftp.toontown.org/pub/teapop/ \
|
||||
http://www.toontown.org/pub/teapop/
|
||||
|
13
mail/teapop/files/patch-ac
Normal file
13
mail/teapop/files/patch-ac
Normal file
@ -0,0 +1,13 @@
|
||||
--- teapop/pop_lock.c.orig Sun Mar 31 09:12:59 2002
|
||||
+++ teapop/pop_lock.c Sun Mar 31 09:14:38 2002
|
||||
@@ -239,6 +239,10 @@
|
||||
{
|
||||
struct flock lock_data;
|
||||
|
||||
+ /* xpinfo is unset if no mailbox is opened */
|
||||
+ if (xpinfo == NULL)
|
||||
+ return;
|
||||
+
|
||||
/* Maildir OR mbox */
|
||||
if (xpinfo->mboxtype == 1 || xpinfo->locktype & LOCK_DOTLOCK) {
|
||||
(void)unlink(xpinfo->dotlock);
|
Loading…
Reference in New Issue
Block a user