[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Unrecognized options
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-tar] Unrecognized options |
Date: |
Thu, 29 Mar 2012 08:59:51 +0300 |
Hi Emmanuel,
Thanks for reporting this. I have installed the following fix:
>From 2a61a3701f1fa04e83a2a39013ab56530a44b777 Mon Sep 17 00:00:00 2001
From: Sergey Poznyakoff <address@hidden>
Date: Thu, 29 Mar 2012 08:57:29 +0300
Subject: [PATCH] Fix unrecognized option.
* src/tar.c (parse_opt): Handle OLD_ARCHIVE_OPTION.
---
src/tar.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/tar.c b/src/tar.c
index ec7ebab..8c4f656 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -1979,6 +1979,10 @@ parse_opt (int key, char *arg, struct argp_state *state)
}
break;
+ case OLD_ARCHIVE_OPTION:
+ set_archive_format ("v7");
+ break;
+
case OVERWRITE_DIR_OPTION:
old_files_option = DEFAULT_OLD_FILES;
break;
--
1.6.0.3
Regards,
Sergey