delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/02/11:15:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: RE: Cygwin not honoring setmode
Date: Tue, 2 Nov 2004 11:15:46 -0500
Message-ID: <F71C0DC6B4FD3648815AAA7F969E35290D934C@sr002-2kexc.ateb.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Reid Thompson" <Reid DOT Thompson AT ateb DOT com>
To: "Brad Bell" <bradbell AT seanet DOT com>, <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iA2GFqvx011779

Brad Bell wrote:
> This problem has been discussed before under the subject heading 
> "Problem with gzip". In particular, the message
>    http://sources.redhat.com/ml/cygwin/2004-04/msg00494.html
> appears to state that a problem with "cygwin not honoring setmode" was
> fixed.
> 
> On Saturday, October 30, 2004, I downloaded and installed the current 
> version of the Cygwin. It appears to me that this problem is back It 
> is hard to work around this problem when using automake and
> autoconf, which
> assume piping into gzip works properly.
> 
> The following shell script demonstrates the problem in my copy of the 
> October 30, 2004 version of Cygwin: =========================
> # Running the following program
> #
> echo "test" > Test.dat
> tar -cf  Test.tar Test.dat
> cat Test.tar  | gzip - -c > Test.tar.gz
> rm Test.tar
> gunzip Test.tar.gz
> #
> # produces the following output
> #
> # gunzip: Test.tar.gz: invalid compressed data--format
> violated =========================

Works on my system, both as individual calls and from a script

$ echo "test" > Test.dat
WS-XP-4960:/home/rthompso> 
$ tar -cf  Test.tar Test.dat
WS-XP-4960:/home/rthompso> 
$ cat Test.tar  | gzip - -c > Test.tar.gz
WS-XP-4960:/home/rthompso> 
$ rm Test.tar
WS-XP-4960:/home/rthompso> 
$ gunzip Test.tar.gz
WS-XP-4960:/home/rthompso> 
$ 

reid

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019