Created attachment 219998 [details]
Add compatibility to (un)rar 6.x
Since (un)rar 6.x has become the default version in ports I could no longer view the contents of .RAR files with mc.
My patch remedies that.
Created attachment 220134 [details]
Add compatibility to (un)rar 6.x (fixed)
The previous patch caused the creation of a file named 'x4' in the folder you opened a RAR file in. Not sure why that happens, since according to 'man test' you should be able to use [ str1 > str2 ].
Changed it so it uses integer comparison, which seems to work fine on my machine.