[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_2_BRANCH: kdepim/kmail
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-01-17 19:43:26
Message-ID: 20040117194326.78BDF920D () office ! kde ! org
[Download RAW message or body]

CVS commit by waba: 

Fix for accessing 32bit index file with 64bit cpu (and vice versa)
Tested by Frank Pieczynski (BR72270)
CCMAIL: 72270-done@bugs.kde.org


  M +1 -1      kmfolderindex.cpp   1.15.6.1


--- kdepim/kmail/kmfolderindex.cpp  #1.15:1.15.6.1
@@ -352,5 +352,5 @@ bool KMFolderIndex::readIndexHeader(int 
          }
       }
-      if (needs_update || mIndexSwapByteOrder)
+      if (needs_update || mIndexSwapByteOrder || (mIndexSizeOfLong != sizeof(long)))
         setDirty( true );
       // Seek to end of header


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic