That patch doesn't look right to me. First, the "#if MSDOS" and "#if
defined(__OS2__)" sections of code have a lot in common, and this common part
shouldn't be duplicated. Second, it really should be using the binary-io
module, as I mentioned earlier. Third and most important, whether a file
descriptor should be placed into binary mode ought to be a function of whether
binary data is being read or written, not whether the file is a terminal. Not
every use of "tar" writes binary data to stdout.
- [Bug-tar] [PATCH] OS/2 patches KO Myung-Hun
- [Bug-tar] [PATCH 3/3] tar: fix build failure KO Myung-Hun
- [Bug-tar] [PATCH 2/3] tar: set stdin/stdout to bina... KO Myung-Hun
- [Bug-tar] [PATCH 1/3] tar: set force_local_option t... KO Myung-Hun
- [Bug-tar] [PATCH] OS/2 patches KO Myung-Hun
- [Bug-tar] [PATCH 2/2] tar: set stdin/stdout to ... KO Myung-Hun
- Re: [Bug-tar] [PATCH 2/2] tar: set stdin/st... Sergey Poznyakoff
- Re: [Bug-tar] [PATCH 2/2] tar: set stdi... Paul Eggert
- Re: [Bug-tar] [PATCH 2/2] tar: set... KO Myung-Hun
- Re: [Bug-tar] [PATCH 2/2] tar:... Paul Eggert
- Re: [Bug-tar] [PATCH 2/2] ... Myung-Hun KO
- Re: [Bug-tar] [PATCH 2/2] ... Paul Eggert
- Re: [Bug-tar] [PATCH 2/2] ... KO Myung-Hun
- Re: [Bug-tar] [PATCH 2/2] ... KO Myung-Hun
- Re: [Bug-tar] [PATCH 2/2] ... KO Myung-Hun
- Re: [Bug-tar] [PATCH 2/2] ... Pavel Raiskup
- Re: [Bug-tar] [PATCH 2/2] ... KO Myung-Hun
- Re: [Bug-tar] [PATCH 2/2] ... KO Myung-Hun
- [Bug-tar] [PATCH 1/2] tar: set force_local_opti... KO Myung-Hun
- Re: [Bug-tar] [PATCH 1/2] tar: set force_lo... Sergey Poznyakoff