f27a51cd9a66685b63357de25e733c37eb03b07c |
|
07-Feb-2018 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: Add file_lock_from_dotlock()
The dotlock creation requires various settings, so the file-lock.h API can't
easily be used to create it. But once created, it's simpler to keep all lock
types in the same struct file_lock, which can be unlocked/freed once
finished. |
14cac26dcb71108abfdc95ea524e74be1f95774c |
|
31-Aug-2016 |
Phil Carmody <phil@dovecot.fi> |
Fix control flow and T_BEGIN/T_END hygiene
You mustn't goto, break, continue, or return from out of a
T_BEGIN {...} T_END block, as that will lose a t_pop().
This has been seen in the wild: Panic: Leaked t_pop() call
Signed-off-by: Phil Carmody <phil@dovecot.fi> |