0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
b66d803de86bfb411165b3465b0d9ef64ecfe2a1 |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Avoid using (void)s by adding ATTR_NOWARN_UNUSED_RESULT attributes and other ways. |
6cb2c6ecddcdbeac9e6c73a292244747e12a793e |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Added file_dotlock_delete_verified() and changed file_dotlock_delete() to return void. |
e156adefc1260d31a145df2f5e9b3c82050d4163 |
|
28-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Whenever file's group changing fails, show the group origin in the error message.
--HG--
branch : HEAD |
6f7617d14ae27473f55628fbdad2af2d75b909a9 |
|
20-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
Added file_dotlock_open_mode().
--HG--
branch : HEAD |
021665c0147e5c655efb2c3f0eff2549b31f6b5a |
|
07-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Added file_dotlock_is_locked().
--HG--
branch : HEAD |
8da095519878426b012058e6f331a669f327f47f |
|
21-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
dotlocks: Flush NFS attribute cache only if nfs_flush setting is TRUE.
--HG--
branch : HEAD |
c25356d5978632df6203437e1953bcb29e0c736f |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed .h ifdef/defines to use <NAME>_H format.
--HG--
branch : HEAD |
fdcb22a688c4676face8db865736b217d9c07d19 |
|
09-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
If use_io_notify dotlock setting is enabled, use I/O notify loop for waiting
dotlock deletion instead of just sleeping randomly.
--HG--
branch : HEAD |
933a8cc7033e8a9bb7a1c7630fbc786b914f1510 |
|
05-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Added file_dotlock_touch() for updating lock file's timestamp.
--HG--
branch : HEAD |
8ecbb74bc4c7f6f6145da3525941d1d0e20e67f1 |
|
05-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Removed immediate_stale_timeout and changed the stale_timeout behavior to
check both dotlock and the file it protects, and overwrite the lock file
whenever neither of them have been modified for stale_timeout seconds (ie.
also immediately if their timestamps are old enough).
--HG--
branch : HEAD |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
d3dee2335ff3b0943085256fe341c2c13a678c4f |
|
25-Nov-2005 |
Timo Sirainen <tss@iki.fi> |
Added file_dotlock_get_lock_path()
--HG--
branch : HEAD |
860c6cf85bd2a3808ab3a480aa697bac24c291dc |
|
28-Aug-2005 |
Timo Sirainen <tss@iki.fi> |
Support creating locks with O_EXCL.
--HG--
branch : HEAD |
13c6532dc104d23061e6901783ceb1ff8872c206 |
|
16-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Changed dotlocking API.
--HG--
branch : HEAD |
d6f2a39470b2d0b9e44bd886abacd41e6e1ec2d2 |
|
28-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
don't close dotlock fd if it's given as -1
--HG--
branch : HEAD |
d5960ce1c0adda5c9e259bc429123ebc29c60bae |
|
04-May-2004 |
Timo Sirainen <tss@iki.fi> |
file_dotlock_open/delete/replace now has lock_suffix parameter. NULL
defaults to ".lock".
Fixed dotlocking transaction log.
--HG--
branch : HEAD |
0de67e4b387ae597f674cf76ae7383d124d74bc6 |
|
20-Oct-2003 |
Timo Sirainen <tss@iki.fi> |
Added dotlock parameter to specify how old lock file has to be to be
immediately deleted. This fixes the problem of never deleting uidlist.lock
files.
--HG--
branch : HEAD |
7698840ca7516916cba42d27d8bd09580ca393b5 |
|
06-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
comment fix
--HG--
branch : HEAD |
892f02d4ab8f764f86015009aaf7437349398286 |
|
05-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
Moved all dotlocking code to lib/. Also we now use temp file + link() rather
than rely on working O_EXCL.
--HG--
branch : HEAD |
94f9cf3436f949d6450e8cda523979fc1b11f103 |
|
14-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Don't even try to override mbox dotlock if we can't get fcntl/flock.
--HG--
branch : HEAD |
48f78a48f2e1cf299026544444666471ae16ad97 |
|
12-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Locking code cleanups and small fixes
--HG--
branch : HEAD |