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

List:       koffice
Subject:    [Bug 78168] files written by KOffice apps are not loadable anymore
From:       David Faure <faure () kde ! org>
Date:       2004-03-21 22:19:10
Message-ID: 20040321221910.8047.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=78168      
faure kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From faure kde org  2004-03-21 23:19 -------
CVS commit by faure: 

Ouch, logic error introduced in my last commit to this file...
Thanks for the report, sorry for the breakage.
CCMAIL: 78168-done bugs kde org


  M +1 -1      kzip.cpp   1.47


--- kdelibs/kio/kio/kzip.cpp  #1.46:1.47
 @ -760,5 +760,5  @ bool KZip::closeArchive()
 
         crc = crc32(crc, (Bytef *)buffer, bufferSize );
-        bool ok = ( device()->writeBlock( buffer, bufferSize ) != bufferSize );
+        bool ok = ( device()->writeBlock( buffer, bufferSize ) == bufferSize );
         delete[] buffer;
         if ( !ok )
____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

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