2007-07-05 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Thu, 5 Jul 2007 18:31:00 +0000 (18:31 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 5 Jul 2007 18:31:00 +0000 (18:31 +0000)
* patches/claws-mail-2.10.0/03-w32-port.patch: Fix cut&paste bug.
* patches/claws-mail-2.9.2/03-w32-port.patch: Likewise.
Spotted by Colin Leroy.

ChangeLog
patches/claws-mail-2.10.0/03-w32-port.patch
patches/claws-mail-2.9.2/03-w32-port.patch

index 36f47ae..32960dc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-07-05  Marcus Brinkmann  <marcus@g10code.de>
+
+       * patches/claws-mail-2.10.0/03-w32-port.patch: Fix cut&paste bug.
+       * patches/claws-mail-2.9.2/03-w32-port.patch: Likewise.
+       Spotted by Colin Leroy.
+
 2007-07-04  Jan-Oliver Wagner  <jan-oliver.wagner@intevation.de>
 
        * README: Added just another dependency that sometimes happen to miss.
index 2fa3796..8450556 100755 (executable)
@@ -603,7 +603,7 @@ diff -rupN claws-mail-2.10.0-orig/src/msgcache.c claws-mail-2.10.0/src/msgcache.
                if (cache_data != NULL && cache_data != MAP_FAILED) {
                        if (ftruncate(fileno(write_fps.mark_fp), (off_t)map_len) == 0) {
 +#ifdef G_OS_WIN32
-+                      cache_data = NULL;
++                      mark_data = NULL;
 +                      HANDLE hFile, hMapping;
 +                      hFile = (HANDLE) _get_osfhandle (fileno(write_fps.mark_fp));
 +                      if (hFile == (HANDLE) -1)
index 0ce6921..60ed661 100755 (executable)
@@ -545,7 +545,7 @@ diff -rup claws-mail-2.9.2-orig/src/msgcache.c claws-mail-2.9.2/src/msgcache.c
                if (cache_data != NULL && cache_data != MAP_FAILED) {
                        if (ftruncate(fileno(write_fps.mark_fp), (off_t)map_len) == 0) {
 +#ifdef G_OS_WIN32
-+                      cache_data = NULL;
++                      mark_data = NULL;
 +                      HANDLE hFile, hMapping;
 +                      hFile = (HANDLE) _get_osfhandle (fileno(write_fps.mark_fp));
 +                      if (hFile == (HANDLE) -1)