D19420: Fix KCompressionDevice::atEnd() for uncompressed .gz files

Christoph Roick noreply at phabricator.kde.org
Thu Feb 28 13:32:11 GMT 2019


croick created this revision.
croick added a reviewer: broulik.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
croick requested review of this revision.

REVISION SUMMARY
  - return KFilterBase::End if KGzipFilter::uncompress_noop() finished reading
  - reset result to KFilterBase::Ok if there is data remaining
  - fixes 96083005e90e <https://phabricator.kde.org/R243:96083005e90e1f4b0bfe8aa6344e60c1f1cdcc77>

TEST PLAN
  - load gzipped files (size < and > than BUFFER_SIZE = 8192 bytes) using kate and labplot
  - load unzipped files with .gz suffix (size < and > than 8192 bytes) using kate and labplot
  - load bzipped files with kate

REPOSITORY
  R243 KArchive

REVISION DETAIL
  https://phabricator.kde.org/D19420

AFFECTED FILES
  src/kcompressiondevice.cpp
  src/kgzipfilter.cpp

To: croick, broulik
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190228/fe49b8dd/attachment.html>


More information about the Kde-frameworks-devel mailing list