[Bug-tar] [PATCH 3/3] tar: fix build failure

2014-09-22 Thread KO Myung-Hun
* src/tar.c: Guard inode feature with D_INO_IN_DIRENT. - CC tar.o tar.c:1356: error: `SAVEDIR_SORT_INODE' undeclared here (not in a function) tar.c:1356: error: initializer element is not constant tar.c:1356: error: (near initialization for `sort_mode_flag[2]') tar.c:1358: error: negat

[Bug-tar] [PATCH 2/3] tar: set stdin/stdout to binary mode on OS/2 if they are not console

2014-09-22 Thread KO Myung-Hun
* src/tar.c: Include io.h for setmode(). (main): Subject. --- src/tar.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/tar.c b/src/tar.c index 283b1ae..059a042 100644 --- a/src/tar.c +++ b/src/tar.c @@ -53,6 +53,10 @@ #include #include +#ifdef __O

[Bug-tar] [PATCH] OS/2 patches

2014-09-22 Thread KO Myung-Hun
Hi/2. These are OS/2 patches. Review, please...

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

2014-09-22 Thread KO Myung-Hun
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