clizip: Detect whether an entry is a directory in a dumber way.
author Raphael Kubo da Costa
()
committer Raphael Kubo da Costa
()
commit 6324382670afad99172832574b7eb1a74814b0e9
tree 560e31b64813a18f47ebb524a28ebcb25d744588
parent dd0d3d1a8e31288af9647f7dc812c67df6c35920
clizip: Detect whether an entry is a directory in a dumber way.

infozip seems to have some trouble indentifying whether some entries
are directories in certain zip files, and outputs the wrong
information in the entry's attributes.

Simply checking if an entry's name ends in '/' seems to be more
reliable.

This also uncovered a crash in Dolphin, so I'm not closing the bug
right now.

The Ark side of the bug should be fixed in 4.7.1.

CCBUG: 280354
plugins/clizipplugin/cliplugin.cpp