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, 14 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 
    622622        Open=gzip -dc %f | %var{PAGER:more} 
    623623        View=%view{ascii} gzip -dc %f 2>/dev/null 
    624624 
    625 regex/\.(gz|Z)?$ 
     625regex/\.(gz|Z)$ 
    626626        View=%view{ascii} gzip -dc %f 2>/dev/null 
    627627 
    628628# bzip2