2007-08-10 [wwp] 2.10.0cvs112
authorTristan Chabredier <wwp@claws-mail.org>
Fri, 10 Aug 2007 15:32:38 +0000 (15:32 +0000)
committerTristan Chabredier <wwp@claws-mail.org>
Fri, 10 Aug 2007 15:32:38 +0000 (15:32 +0000)
* src/msgcache.c
Disable mmap reads in Windows only (at least temporarily), they
prevent from renaming/removing target cache files.

ChangeLog
PATCHSETS
configure.ac
src/msgcache.c

index f0ea420..fbc092e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-08-10 [wwp]       2.10.0cvs112
+
+       * src/msgcache.c
+               Disable mmap reads in Windows only (at least temporarily), they
+               prevent from renaming/removing target cache files.
+
 2007-08-10 [paul]
 
        3.0.0-rc2 released
index 6cac125..ba7c00c 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.8.2.23 -r 1.8.2.24 src/editldap.c;  cvs diff -u -r 1.213.2.154 -r 1.213.2.155 src/folder.c;  ) > 2.10.0cvs109.patchset
 ( cvs diff -u -r 1.179.2.180 -r 1.179.2.181 src/imap.c;  cvs diff -u -r 1.1.4.6 -r 1.1.4.7 src/etpan/etpan-thread-manager-types.h;  cvs diff -u -r 1.1.4.81 -r 1.1.4.82 src/etpan/imap-thread.c;  cvs diff -u -r 1.1.4.18 -r 1.1.4.19 src/etpan/imap-thread.h;  ) > 2.10.0cvs110.patchset
 ( cvs diff -u -r 1.16.2.55 -r 1.16.2.56 src/msgcache.c;  cvs diff -u -r 1.17.2.10 -r 1.17.2.11 src/recv.c;  ) > 2.10.0cvs111.patchset
+( cvs diff -u -r 1.16.2.56 -r 1.16.2.57 src/msgcache.c;  ) > 2.10.0cvs112.patchset
index 9e035d0..24611ef 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=10
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=111
+EXTRA_VERSION=112
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 200bfab..5313f6d 100644 (file)
         ((x[2]&0xff) << 16) |          \
         ((x[3]&0xff) << 24))
 
+#ifdef G_OS_WIN32
+static gboolean msgcache_use_mmap_read = FALSE;
+#else
 static gboolean msgcache_use_mmap_read = TRUE;
+#endif
 static gboolean msgcache_use_mmap_write = FALSE;
 
 #else
@@ -87,7 +91,11 @@ static gboolean msgcache_use_mmap_write = FALSE;
         ((x[2]&0xff) << 16) |          \
         ((x[3]&0xff) << 24))
 
+#ifdef G_OS_WIN32
+static gboolean msgcache_use_mmap_read = FALSE;
+#else
 static gboolean msgcache_use_mmap_read = TRUE;
+#endif
 static gboolean msgcache_use_mmap_write = FALSE;
 #endif