dovecot-2.2: fs-posix: Compile fix for systems without flock()
dovecot at dovecot.org
dovecot at dovecot.org
Fri Oct 3 21:30:13 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/dd25099bd633
changeset: 17875:dd25099bd633
user: Timo Sirainen <tss at iki.fi>
date: Sat Oct 04 00:29:30 2014 +0300
description:
fs-posix: Compile fix for systems without flock()
diffstat:
src/lib-fs/fs-posix.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r dfef14b27eea -r dd25099bd633 src/lib-fs/fs-posix.c
--- a/src/lib-fs/fs-posix.c Fri Oct 03 22:44:31 2014 +0300
+++ b/src/lib-fs/fs-posix.c Sat Oct 04 00:29:30 2014 +0300
@@ -515,9 +515,7 @@
static int
fs_posix_lock(struct fs_file *_file, unsigned int secs, struct fs_lock **lock_r)
{
-#ifdef HAVE_FLOCK
struct posix_fs_file *file = (struct posix_fs_file *)_file;
-#endif
struct posix_fs *fs = (struct posix_fs *)_file->fs;
struct dotlock_settings dotlock_set;
struct posix_fs_lock fs_lock, *ret_lock;
More information about the dovecot-cvs
mailing list