mc 4.7.0pre3 support for .tlz archives

Paul Hartman paul.hartman+gentoo at gmail.com
Tue Oct 27 21:07:35 UTC 2009


On Tue, Oct 27, 2009 at 3:56 PM, Paul Marwick <paulm at waitrose.com> wrote:
> I assume that it must be an error in the way the regex is structured, but I
> certainly can't see it.

I think the regex looks okay, but found this in util.c which looks
like it may be a clue:

    /* HACK: we must belive to extention of LZMA file :) ...*/
    if (strlen(name) > 5 && strcmp(&name[strlen(name)-5],".lzma") == 0)
        return COMPRESSION_LZMA;


Maybe try to change that to look for "tlz" and see if it fixes the problem.



More information about the mc mailing list