mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 02:42:52 +00:00
ark: implement encrypted entries info for libarchive plugin
fixes kerfuffle-archivetest failure Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
4bdacc0df9
commit
194f6eda25
1 changed files with 3 additions and 0 deletions
|
@ -646,6 +646,9 @@ void LibArchiveInterface::emitEntryFromArchiveEntry(struct archive_entry *aentry
|
||||||
|
|
||||||
e[Size] = (qlonglong)archive_entry_size(aentry);
|
e[Size] = (qlonglong)archive_entry_size(aentry);
|
||||||
e[IsDirectory] = S_ISDIR(archive_entry_mode(aentry));
|
e[IsDirectory] = S_ISDIR(archive_entry_mode(aentry));
|
||||||
|
#if ARCHIVE_VERSION_NUMBER >= 3002000
|
||||||
|
e[IsPasswordProtected] = archive_entry_is_encrypted(aentry);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (archive_entry_symlink(aentry)) {
|
if (archive_entry_symlink(aentry)) {
|
||||||
e[Link] = QString::fromAscii( archive_entry_symlink(aentry) );
|
e[Link] = QString::fromAscii( archive_entry_symlink(aentry) );
|
||||||
|
|
Loading…
Add table
Reference in a new issue