diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2016-08-26 22:11:14 +0300 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2016-09-03 11:48:04 +0900 |
commit | e5a3116cffdf87b13912803006311262219aeb7b (patch) | |
tree | e6cf8f119ecc137c141755c3568590f7309224bb /ark/rar.h | |
parent | d8d57cf6e803e70b62f3c630f6d54d9cc5350776 (diff) | |
download | tdeutils-e5a3116cffdf87b13912803006311262219aeb7b.tar.gz tdeutils-e5a3116cffdf87b13912803006311262219aeb7b.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.
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; }; |