Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 209003
Collapse All | Expand All

(-)tar-1.19/src/buffer.c (-1 / +3 lines)
Lines 204-210 Link Here
204
  ct_none,
204
  ct_none,
205
  ct_compress,
205
  ct_compress,
206
  ct_gzip,
206
  ct_gzip,
207
  ct_bzip2
207
  ct_bzip2,
208
  ct_lzma
208
};
209
};
209
210
210
struct zip_magic
211
struct zip_magic
Lines 221-226 Link Here
221
  { ct_compress, 2, "\037\235", "compress", "-Z" },
222
  { ct_compress, 2, "\037\235", "compress", "-Z" },
222
  { ct_gzip,     2, "\037\213", "gzip", "-z"  },
223
  { ct_gzip,     2, "\037\213", "gzip", "-z"  },
223
  { ct_bzip2,    3, "BZh",      "bzip2", "-j" },
224
  { ct_bzip2,    3, "BZh",      "bzip2", "-j" },
225
  { ct_lzma,     6, "\xFFLZMA", "lzma", "-a" },
224
};
226
};
225
227
226
#define NMAGIC (sizeof(magic)/sizeof(magic[0]))
228
#define NMAGIC (sizeof(magic)/sizeof(magic[0]))
(-)tar-1.19/src/tar.c (+6 lines)
Lines 574-579 Link Here
574
   N_("control pax keywords"), GRID+8 },
574
   N_("control pax keywords"), GRID+8 },
575
  {"label", 'V', N_("TEXT"), 0,
575
  {"label", 'V', N_("TEXT"), 0,
576
   N_("create archive with volume name TEXT; at list/extract time, use TEXT as a globbing pattern for volume name"), GRID+8 },
576
   N_("create archive with volume name TEXT; at list/extract time, use TEXT as a globbing pattern for volume name"), GRID+8 },
577
  {"lzma", 'a', 0, 0,
578
   N_("filter the archive through lzma"), GRID+8 },
577
  {"bzip2", 'j', 0, 0,
579
  {"bzip2", 'j', 0, 0,
578
   N_("filter the archive through bzip2"), GRID+8 },
580
   N_("filter the archive through bzip2"), GRID+8 },
579
  {"gzip", 'z', 0, 0,
581
  {"gzip", 'z', 0, 0,
Lines 1218-1223 Link Here
1218
      args->input_files = true;
1220
      args->input_files = true;
1219
      break;
1221
      break;
1220
1222
1223
    case 'a':
1224
      set_use_compress_program_option ("lzma");
1225
      break;
1226
1221
    case 'A':
1227
    case 'A':
1222
      set_subcommand_option (CAT_SUBCOMMAND);
1228
      set_subcommand_option (CAT_SUBCOMMAND);
1223
      break;
1229
      break;
(-)./tar.1.org (+4 lines)
Lines 25-30 Link Here
25
.BR -p ", " --preserve-permissions
25
.BR -p ", " --preserve-permissions
26
.BR -v ", " --verbose
26
.BR -v ", " --verbose
27
.BR -z ", " --gzip
27
.BR -z ", " --gzip
28
.BR -a ", " --lzma
28
.fi
29
.fi
29
30
30
.I All Options:
31
.I All Options:
Lines 352-357 Link Here
352
.TP
353
.TP
353
.BR -z ", " --gzip ", " --ungzip
354
.BR -z ", " --gzip ", " --ungzip
354
filter the archive through gzip
355
filter the archive through gzip
356
.TP
357
.BR -a ", " --lzma ", " --unlzma
358
filter the archive through lzma
355
.SH "ALL OPTIONS"
359
.SH "ALL OPTIONS"
356
.TP
360
.TP
357
.BR --atime-preserve
361
.BR --atime-preserve

Return to bug 209003