mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.7 KiB

  1. --- ./src/tar.c.orig 2004-04-04 11:53:30.000000000 +0200
  2. +++ ./src/tar.c 2004-06-24 13:48:06.757203696 +0200
  3. @@ -239,6 +239,8 @@
  4. {"block-number", no_argument, 0, 'R'},
  5. {"blocking-factor", required_argument, 0, 'b'},
  6. {"bzip2", no_argument, 0, 'j'},
  7. + {"bzip2", no_argument, 0, 'y'},
  8. + {"bzip2", no_argument, 0, 'I'},
  9. {"catenate", no_argument, 0, 'A'},
  10. {"checkpoint", no_argument, 0, CHECKPOINT_OPTION},
  11. {"check-links", no_argument, &check_links_option, 1},
  12. @@ -458,7 +460,7 @@
  13. control pax keywords\n\
  14. -V, --label=NAME create archive with volume name NAME\n\
  15. PATTERN at list/extract time, a globbing PATTERN\n\
  16. - -j, --bzip2 filter the archive through bzip2\n\
  17. + -j, -y, -I, --bzip2 filter the archive through bzip2\n\
  18. -z, --gzip, --ungzip filter the archive through gzip\n\
  19. -Z, --compress, --uncompress filter the archive through compress\n\
  20. --use-compress-program=PROG filter through PROG (must accept -d)\n"),
  21. @@ -768,13 +770,15 @@
  22. ignore_zeros_option = true;
  23. break;
  24. - case 'I':
  25. - USAGE_ERROR ((0, 0,
  26. - _("Warning: the -I option is not supported;"
  27. - " perhaps you meant -j or -T?")));
  28. + case 'j':
  29. + set_use_compress_program_option ("bzip2");
  30. break;
  31. - case 'j':
  32. + case 'y':
  33. + set_use_compress_program_option ("bzip2");
  34. + break;
  35. +
  36. + case 'I':
  37. set_use_compress_program_option ("bzip2");
  38. break;
  39. @@ -943,12 +947,6 @@
  40. }
  41. break;
  42. - case 'y':
  43. - USAGE_ERROR ((0, 0,
  44. - _("Warning: the -y option is not supported;"
  45. - " perhaps you meant -j?")));
  46. - break;
  47. -
  48. case 'z':
  49. set_use_compress_program_option ("gzip");
  50. break;