summaryrefslogtreecommitdiff
path: root/source/a/tar/tar-1.13.bzip2.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/tar/tar-1.13.bzip2.diff')
-rw-r--r--source/a/tar/tar-1.13.bzip2.diff22
1 files changed, 15 insertions, 7 deletions
diff --git a/source/a/tar/tar-1.13.bzip2.diff b/source/a/tar/tar-1.13.bzip2.diff
index 85c03368..891301d1 100644
--- a/source/a/tar/tar-1.13.bzip2.diff
+++ b/source/a/tar/tar-1.13.bzip2.diff
@@ -1,5 +1,6 @@
---- ./src/tar.c.orig Wed Jul 7 00:49:50 1999
-+++ ./src/tar.c Fri Jul 30 23:00:13 1999
+diff -Nur tar-1.13.orig/src/tar.c tar-1.13/src/tar.c
+--- tar-1.13.orig/src/tar.c 1999-07-07 00:49:50.000000000 -0500
++++ tar-1.13/src/tar.c 2017-12-22 00:39:37.515271544 -0600
@@ -16,6 +16,8 @@
with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
@@ -26,7 +27,14 @@
-z, --gzip, --ungzip filter the archive through gzip\n\
-Z, --compress, --uncompress filter the archive through compress\n\
--use-compress-program=PROG filter through PROG (must accept -d)\n"),
-@@ -416,7 +421,7 @@
+@@ -410,13 +415,13 @@
+ | Parse the options for tar. |
+ `----------------------------*/
+
+-/* Available option letters are DEHIJQY and aejnqy. Some are reserved:
++/* Available option letters are DEHIJQY and aenqy. Some are reserved:
+
+ y per-file gzip compression
Y per-block gzip compression */
#define OPTION_STRING \
@@ -35,14 +43,14 @@
static void
set_subcommand_option (enum subcommand subcommand)
-@@ -787,6 +792,10 @@
- if (add_exclude_file (excluded, optarg, '\n') != 0)
+@@ -788,6 +793,10 @@
FATAL_ERROR ((0, errno, "%s", optarg));
break;
-+
+
+ case 'j':
+ set_use_compress_program_option ("bzip2");
+ break;
-
++
case 'z':
set_use_compress_program_option ("gzip");
+ break;