[Dovecot] v2.2 dsync_brain_lock() FLOCK compatibility issue on Solaris 11.1

Timo Sirainen tss at iki.fi
Fri Mar 22 12:49:10 EET 2013


On 22.3.2013, at 12.02, Walter Steiner <ws+dovecot at iai.uni-bonn.de> wrote:

> is a (maybe unintentional) fix reference to FLOCK locks.
> 
> 
>                if (file_wait_lock(brain->lock_fd, brain->lock_path, F_WRLCK,
>                                   FILE_LOCK_METHOD_FLOCK, brain->lock_timeout,
>                                   &brain->lock) <= 0) {

I'm not sure why I used flock instead of fcntl lock. Maybe by accident. Switched: http://hg.dovecot.org/dovecot-2.2/rev/b436c1f6bd06



More information about the dovecot mailing list