Re: mc 4.7.0pre3 support for .tlz archives

On Tue, Oct 27, 2009 at 3:56 PM, Paul Marwick <paulm 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.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]