Re: curious about some implementation issues
- To: mutt-dev@xxxxxxxx
- Subject: Re: curious about some implementation issues
- From: Kyle Wheeler <kyle-mutt-dev@xxxxxxxxxxxxxx>
- Date: Fri, 3 Oct 2008 18:21:37 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=a4OVgBO6TlEjktFkfotYKnz3P40=; b=FL4s 89EgCL9W3SugI8JBSIosYr1rfHEXed3UGnqJ9qAqOolkFLHyu2S1t+sSOOL6Cv1y U0s/zt49EzB1N7LkKKyBN7oAvCZcDXEMKL+t5YGO31VqNsufrf2uIwFAjNcnyMFJ JTm0iqKGrl+XpIfIDL7mBNpXbMwGTs7oqLNPbOA=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=U9td97k9bO4b/pi4WY2MTVcMWI3ruFFkB+kD6fHnIilIRtDxTSykjxassGHJcrcyWMb1E8qwI8/wInxjyABF+9Tlj2QJuPAkqSb9GUBmucO8yufEygrV7hQzb3zdtl2m8UC0RbK+9xoErQCqbupATk8esqAHyMFjEYFGYhdYKR0=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20081003222451.GA10824@localhost>
- List-post: <mailto:mutt-dev@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-dev"
- Mail-followup-to: mutt-dev@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20081003190814.GA8312@localhost> <20081003211444.GO971@xxxxxxxxxxxxx> <20081003222451.GA10824@localhost>
- Sender: owner-mutt-dev@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-09-25)
On Friday, October 3 at 06:24 PM, quoth Sergei Gerasenko:
Cool. The only thing I don't understand is that it seems that all
file locking in Unix is "advisory" and it's totally up to the
program accessing the file whether to respect it or not. Is that
true?
Yes, exactly. What that essentially means is that in order for locking
to work, everyone involved has to agree to use the same mechanism,
which can be a problem given that there are three or more "standard"
ways of doing file locks on Unix systems.
Generally, though, the most common method is to use fcntl if available
and dot-locking as a fall back. That's what mutt does, and that what
most MTAs do as well.
~Kyle
--
The sharpest criticism often goes hand in hand with the deepest
idealism and love of country.
-- Robert F. Kennedy
Attachment:
pgp35H9T8YnSc.pgp
Description: PGP signature