[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to binary mode on OS/2 i
From: |
KO Myung-Hun |
Subject: |
Re: [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to binary mode on OS/2 if not console |
Date: |
Tue, 18 Nov 2014 13:28:31 +0900 |
User-agent: |
Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2 |
Hi/2.
Paul Eggert wrote:
> Sergey Poznyakoff wrote:
>> What's the purpose of this?
>
> If it needs to be done (which isn't clear to me either), I suggest using
> the gnulib binary-io module rather than having OS/2-specific code in the
> tar sources proper.
>
>
It is needed because simple_flush_read() and _gnu_flush_read() use
STDIN_FILENO and STDOUT_FILENO without setting them to binary mode.
I attach patches to use SET_BINARY_MODE of paxutils.
--
KO Myung-Hun
Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM
Korean OS/2 User Community : http://www.ecomstation.co.kr
0001-lib-define-system-macros-for-OS-2.patch
Description: Text document
0001-tar-make-sure-stdin-and-stdout-are-binary-mode.patch
Description: Text document
- [Bug-tar] [PATCH] OS/2 patches, KO Myung-Hun, 2014/11/17
- [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to binary mode on OS/2 if not console, KO Myung-Hun, 2014/11/17
- Re: [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to binary mode on OS/2 if not console, Sergey Poznyakoff, 2014/11/17
- Re: [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to binary mode on OS/2 if not console, Paul Eggert, 2014/11/17
- Re: [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to binary mode on OS/2 if not console,
KO Myung-Hun <=
- Re: [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to binary mode on OS/2 if not console, Paul Eggert, 2014/11/17
- Re: [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to binary mode on OS/2 if not console, Myung-Hun KO, 2014/11/18
- Re: [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to binary mode on OS/2 if not console, Paul Eggert, 2014/11/18
- Re: [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to binary mode on OS/2 if not console, KO Myung-Hun, 2014/11/18
- Re: [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to binary mode on OS/2 if not console, KO Myung-Hun, 2014/11/22
- Re: [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to binary mode on OS/2 if not console, KO Myung-Hun, 2014/11/23
- Re: [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to binary mode on OS/2 if not console, Pavel Raiskup, 2014/11/24
- Re: [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to binary mode on OS/2 if not console, KO Myung-Hun, 2014/11/25