Ticket #2114: mc-dont-treat-files-ending-with-dot-as-gzip.patch
File mc-dont-treat-files-ending-with-dot-as-gzip.patch, 397 bytes (added by tomj, 13 years ago) |
---|
-
misc/mc.ext.in
diff -u -r -p mc-4.7.0.2/misc/mc.ext.in mc.gzip/misc/mc.ext.in
old new type/^gzip 622 622 Open=gzip -dc %f | %var{PAGER:more} 623 623 View=%view{ascii} gzip -dc %f 2>/dev/null 624 624 625 regex/\.(gz|Z) ?$625 regex/\.(gz|Z)$ 626 626 View=%view{ascii} gzip -dc %f 2>/dev/null 627 627 628 628 # bzip2