D22786: KTar::openArchive: Don't assert if file has two root dirs

Albert Astals Cid noreply at phabricator.kde.org
Sun Jul 28 16:30:45 BST 2019


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

REVISION SUMMARY
  I was wondering if adding this check in KArchive::setRootDir
  instead but i ended doing it here since i think an assert in setRootDir is
  valid for when C++ users of that class do it wrong.

REPOSITORY
  R243 KArchive

BRANCH
  master

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

AFFECTED FILES
  src/karchive_p.h
  src/ktar.cpp

To: aacid
Cc: kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190728/bd3d7966/attachment.html>


More information about the Kde-frameworks-devel mailing list