bug-tar
[Top][All Lists]
Advanced

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

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


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

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

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