Ticket #176 (closed defect: fixed)
(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:3 Changed 16 years ago by metux
- Status changed from new to accepted
- Keywords vote-metux added
- Description modified (diff)
- Owner set to metux
rebased to current master
comment:4 Changed 16 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 16 years ago by slyfox
Tried to underscore ".bz2". is it ok here?
+ { "lzma -cd %s 2>&1", "lzma > %s", ".bz2" },
comment:7 Changed 16 years ago by styx
- Owner changed from metux to styx
- Keywords vote-styx approved added
- Status changed from accepted to assigned
comment:8 Changed 16 years ago by styx
- Keywords commited-master added; review vote-metux vote-styx approved removed
- Status changed from assigned to testing
- Resolution set to fixed
comment:10 Changed 15 years ago by andrew_b
- severity set to no branch
changeset:a5ba27872979bc6a15418ec30d6d115e9ba92235 dropes the TAR VFS (see #1392).