Ticket #176 (closed defect: fixed)

Opened 8 years ago

Last modified 7 years ago

(mandriva) add lzma support

Reported by: metux Owned by: styx
Priority: major Milestone: 4.7
Component: mc-core Version: 4.6.1
Keywords: commited-master Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description (last modified by metux) (diff)

Mandriva Patches: Add support for lzma compressed files

branch:176_lzma
changeset:5ba2a58e46f4fdea874ad4395bf7faa0848ed20f

Change History

comment:1 Changed 8 years ago by metux

  • Description modified (diff)

comment:2 Changed 8 years ago by metux

  • Description modified (diff)

comment:3 Changed 7 years ago by metux

  • Keywords vote-metux added
  • Owner set to metux
  • Status changed from new to accepted
  • Description modified (diff)

rebased to current master

comment:4 Changed 7 years ago by slyfox

diff --git a/edit/edit.c b/edit/edit.c
index 36284df..153b549 100644
--- a/edit/edit.c
+++ b/edit/edit.c
@@ -185,6 +185,7 @@ edit_load_file_fast (WEdit *edit, const char *filename)

static const struct edit_filters {

const char *read, *write, *extension;

} all_filters[] = {

+ { "lzma -cd %s 2>&1", "lzma > %s", ".bz2" },


{ "bzip2 -cd %s 2>&1", "bzip2 > %s", ".bz2" },
{ "gzip -cd %s 2>&1", "gzip > %s", ".gz" },
{ "gzip -cd %s 2>&1", "gzip > %s", ".Z" }

comment:5 Changed 7 years ago by slyfox

Tried to underscore ".bz2". is it ok here?

+ { "lzma -cd %s 2>&1", "lzma > %s", ".bz2" },

comment:6 Changed 7 years ago by metux

hmm, should be .lzma, IMHO

fixed this

comment:7 Changed 7 years ago by styx

  • Owner changed from metux to styx
  • Status changed from accepted to assigned
  • Keywords vote-styx approved added

comment:8 Changed 7 years ago by styx

  • Status changed from assigned to testing
  • Keywords commited-master added; review vote-metux vote-styx approved removed
  • Resolution set to fixed

comment:9 Changed 7 years ago by styx

  • Status changed from testing to closed

comment:10 Changed 7 years ago by andrew_b

  • severity set to no branch
Note: See TracTickets for help on using tickets.