procmail
[Top] [All Lists]

Re: file locking

1998-02-18 10:02:55
On Wed, 18 Feb 1998 09:53:41 -0600, "Matthew G. Saroff (Reply to the
pobox address)" <matthew(_dot_)saroff(_at_)lmco(_dot_)com> wrote:
On Feb 18,  1:49pm, era eriksson wrote:
"Matthew G. Saroff" <msaroff(_at_)pca(_dot_)net> wrote:
:0:$HOME/locked
* some condition
$HOME/locked
LOCKFILE=$HOME/locked.lock
<...>
LOCKFILE
The last line here is an assignment, it means essentially the same as
LOCKFILE='' and so purges the regional lock.
     Does this lockfile affect just the two recipes in between the lockfile
statements, or does this apply to all procmail activity going on?
     Thanks muchly for the help.

It's a regional lockfile, in effect between the assignment and the
deassignment. (This is easy to test, too.)

/* era */

-- 
 Paparazzi of the Net: No matter what you do to protect your privacy,
  they'll hunt you down and spam you. <http://www.iki.fi/~era/spam/>

<Prev in Thread] Current Thread [Next in Thread>