On OS/2, colon is used to specify a drive name.

* src/tar.c (parse_opt): Set force_local_option to true on OS/2.
---
 src/tar.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/tar.c b/src/tar.c
index f8102e0..7512e98 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -1362,6 +1362,10 @@ parse_opt (int key, char *arg, struct argp_state *state)
 {
   struct tar_args *args = state->input;
 
+#ifdef __OS2__
+    force_local_option = true;
+#endif
+
   switch (key)
     {
     case ARGP_KEY_ARG:
-- 
1.8.5.2


Reply via email to