diff options
author | Alexander Golubev <[email protected]> | 2016-08-26 22:11:14 +0300 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2016-09-03 11:51:07 +0900 |
commit | 03af0c40cb19e918d73b861a273f8659a1ed8604 (patch) | |
tree | 9993f65cf58949138f93ad38cbb98a2591b0099d /ark/rar.h | |
parent | f38d0cf308d7ba7f59466f8f9d0c5703397590ae (diff) | |
download | tdeutils-03af0c40cb19e918d73b861a273f8659a1ed8604.tar.gz tdeutils-03af0c40cb19e918d73b861a273f8659a1ed8604.zip |
Ark: [rar module] fix suppport for buggy rar versions
Rar versions from 5.0 till 5.3, not including the last one were added extra
spaces to short directory/file names. This behaviour resulted in
appearing of additional entries for directories and may be some other
issues.
Also slightly rework internal rar version parsing/storing and fix some
comments.
(cherry picked from commit e5a3116cffdf87b13912803006311262219aeb7b)
Diffstat (limited to 'ark/rar.h')
-rw-r--r-- | ark/rar.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -24,6 +24,8 @@ #ifndef RAR_H #define RAR_H +#include <stdint.h> + #include "arch.h" class TQString; @@ -65,7 +67,7 @@ class RarArch : public Arch * Therefore, the variables below are needed. */ bool m_isFirstLine; - short m_version; + uint32_t m_version; TQString m_entryFilename; }; |