procmail
[Top] [All Lists]

Re: locking $LOGFILE ?

1997-01-02 09:47:50

On Thu, 2 Jan 1997, David W. Tamkin wrote:

Procmail usually gets along without locking the logfile.  Writes to it are
short (in comparison to what gets written to a folder) and usually a lock
is not needed.

Yikes!  Is that really the criteria you use to decide if locking is needed?!
In some places you would be flogged!  Is it *possible* for two instances
of a process to open a file for writing at the same time?  Then it is 
*necessary*
to take measures to prevent this.

--
g-r-a-t-e-f-u-l-l-y---[   email:<fishbowl(_at_)conservatory(_dot_)com>   
]---l-i-v-i-n-g
d-e-a-d-i-c-a-t-e-d---[ http://www.conservatory.com/~fishbowl ]-----l-i-g-h-t

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