id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
4518	cd to rar5 achives breaks with rar-7	ctmp1	andrew_b	"Release of rar 7 breaks the detection of of rar version in urar vfs. Currently only rar5 and rar6 is recognized by mcrarfs_list(). Probably, all rar archives with versions higher than 4 should be handled by mcrar5fs_list()


Steps to reproduce:
1. install rar 7 or unrar 7
2. press ""Enter"" on rar5 archive

Various errors appear like:
{{{
1 1000 1002 0 00/00/00  ./                4582       732  15%                              1
}}}

Possible fix:
{{{
--- urar	2023-08-28 03:00:00.000000000 +0300
+++ urar.new	2024-01-13 16:25:56.396778971 +0300
@@ -113,7 +113,7 @@
 
 mcrarfs_list ()
 {
-    [ x$UNRAR_VERSION = x6 -o x$UNRAR_VERSION = x5 ] && mcrar5fs_list ""$@"" || mcrar4fs_list ""$@""
+    [ x$UNRAR_VERSION \> x4 ] && mcrar5fs_list ""$@"" || mcrar4fs_list ""$@""
 }
 
 mcrarfs_copyin ()
}}}
"	defect	closed	major	4.8.32	mc-vfs	4.8.30	fixed					merged	committed-master
