diff -Naur mc-4.8.14.orig/misc/mc.ext.in mc-4.8.14/misc/mc.ext.in
old
|
new
|
|
216 | 216 | Open=%cd %p/patchfs:// |
217 | 217 | View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz |
218 | 218 | |
| 219 | regex/\.(diff|patch)(\.xz)$ |
| 220 | Open=%cd %p/patchfs:// |
| 221 | View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz |
| 222 | |
219 | 223 | # ls-lR |
220 | 224 | regex/(^|\.)ls-?lR(\.gz|Z|bz2)$ |
221 | 225 | Open=%cd %p/lslR:// |
diff -Naur mc-4.8.14.orig/src/vfs/extfs/helpers/patchfs.in mc-4.8.14/src/vfs/extfs/helpers/patchfs.in
old
|
new
|
|
80 | 80 | $_=`$fileutil $qfname`; |
81 | 81 | if (/^'*lzma/) { |
82 | 82 | return "$lzma -dc $qfname"; |
83 | | } elsif (/^'*xz/) { |
| 83 | } elsif (/^'*[xz|XZ]/) { |
84 | 84 | return "$xz -dc $qfname"; |
85 | 85 | } elsif (/^'*bzip/) { |
86 | 86 | return "$bzip -dc $qfname"; |
… |
… |
|
100 | 100 | $_=`$fileutil $qfname`; |
101 | 101 | if (/^'*lzma/) { |
102 | 102 | return "$lzma -c $sep $qfname"; |
103 | | } elsif (/^'*xz/) { |
| 103 | } elsif (/^'*[xz|XZ]/) { |
104 | 104 | return "$xz -c $sep $qfname"; |
105 | 105 | } elsif (/^'*bzip/) { |
106 | 106 | return "$bzip -c $sep $qfname"; |