bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] [PATCH 1/3] tar: set force_local_option to true on OS/2


From: KO Myung-Hun
Subject: [Bug-tar] [PATCH 1/3] tar: set force_local_option to true on OS/2
Date: Mon, 22 Sep 2014 17:49:17 +0900

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

* src/tar.c (parse_opt): Subject.
---
 src/tar.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/tar.c b/src/tar.c
index cd32379..283b1ae 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -1358,6 +1358,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.7.3.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]