From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4500 invoked from network); 29 Oct 2006 13:14:49 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 29 Oct 2006 13:14:49 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 67918 invoked from network); 29 Oct 2006 13:14:37 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Oct 2006 13:14:37 -0000 Received: (qmail 26255 invoked by alias); 29 Oct 2006 13:14:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22917 Received: (qmail 26239 invoked from network); 29 Oct 2006 13:14:31 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 29 Oct 2006 13:14:31 -0000 Received: (qmail 67214 invoked from network); 29 Oct 2006 13:14:30 -0000 Received: from hu-out-0506.google.com (72.14.214.233) by a.mx.sunsite.dk with SMTP; 29 Oct 2006 13:14:29 -0000 Received: by hu-out-0506.google.com with SMTP id 34so1137740hue for ; Sun, 29 Oct 2006 05:14:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=g5qa+VslyDiRtQi2dlOk1l5qZtPKhNpKaTpeE5vra3kagtZqxkUf0y2iuCiJ43UGDbDeX7pjEzkejwuK5pxZdVsoC9FCCOT5psTZE2LrSA7SNsWwXY/lvcFkK4wlkk55B1LhS/qSuW1V2fPs/4MwMi2mHhYuAoBqunLkcLltwls= Received: by 10.78.134.12 with SMTP id h12mr3009961hud; Sun, 29 Oct 2006 05:14:27 -0800 (PST) Received: by 10.78.138.9 with HTTP; Sun, 29 Oct 2006 05:14:27 -0800 (PST) Message-ID: <20a807210610290514k7f17abdfja21c611b45ff468b@mail.gmail.com> Date: Sun, 29 Oct 2006 08:14:27 -0500 From: "Vin Shelton" Sender: ethersoft@gmail.com To: cygwin@cygwin.com Subject: Re: gunzip 1.3.5 error reading from stdin on Cygwin Cc: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 08e19fffb7e78453 (added cc: to zsh-workers. The original message can be found at http://www.mail-archive.com/cygwin@cygwin.com/msg73620.html ) Vin Shelton wrote: > After upgrading my system this morning, I'm getting an error running > gunzip when it reads from stdin. > > Steps to reproduce: > > wget ftp://ftp.gnu.org/gmp/gmp-4.2.1.tar.gz > gunzip < gmp-4.2.1.tar.gz >/dev/null > > This sequence yields the following errors: > > gunzip: stdin: invalid compressed data--crc error > > gunzip: stdin: invalid compressed data--length error > > > Interestingly, > > gunzip gmp-4.2.1.tar.gz > > works. I've narrowed this down a little bit. It only happens under zsh; under bash, the recipe works without error. Thinkging that for some reason, stdin was being opened in a text mode, I tried setting CYGWIN=binmode before starting zsh, but that had no effect on this problem. I believe the upgrade that broke this was the most recent gettext/libintl upgrade. In order to link against the most recent libintl, I have rebuilt zsh from source (both from the cygwin source tarball and also from the latest zsh sources in CVS), but still the problem persists. I would appreciate any help that can be offered. Thanks, Vin -- The Journey by Mary Oliver http://www.poemhunter.com/p/m/poem.asp?poet=6771&poem=30506