[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tpop3d-discuss]Segv when a maildir mailbox doesnt exist
From: |
Kevin Bonner |
Subject: |
Re: [tpop3d-discuss]Segv when a maildir mailbox doesnt exist |
Date: |
Tue, 27 Jul 2004 14:22:24 -0400 |
User-agent: |
KMail/1.6.2 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 27 July 2004 12:44, Simon Loader wrote:
> For simplicity we dont create a mailbox when a user does not exist.
> Older versions of tpop3d always didnt care 1.5.3 does.
Do you have maildir-exclusive-lock enabled in your config? This is what
causes the lock and unlock stuff to be called.
If you want an exclusive lock for maildirs, I'd just modify the maildir_unlock
functions to return if dirname == NULL. Adding a similar check to
maildir_lock to return 0 is probably desirable as well. Much nicer, IMO,
than surrounding all lines in a function with an if statement.
Kevin Bonner
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBBp1k/9i/ml3OBYMRAhV0AJ9lrV+ffl+07sifuHAPLB8KjlLb+gCgjjoz
PtUs6hpTL6sRynxbnfaRmHQ=
=z1SH
-----END PGP SIGNATURE-----