delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/04/14:08:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <02cb01c2e281$5c81bc60$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Manu" <manubee AT wanadoo DOT fr>, <cygwin AT cygwin DOT com>
References: <000801c2e1e3$9b64de60$03f90950 AT tbird1000>
Subject: Re: Cygwin setup crashes
Date: Tue, 4 Mar 2003 19:07:54 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Manu wrote:
> After a few editing in the Makefiles, (I don't have much time :)
> I've built setup.exe from CVS sources, with debug symbols.

Please try this patch (against current CVS):

Index: compress_gz.cc
===================================================================
RCS file: /home/max/cvsmirror/cygwin-apps-cvs/setup/compress_gz.cc,v
retrieving revision 2.7
diff -u -p -r2.7 compress_gz.cc
--- compress_gz.cc 9 Nov 2002 13:33:15 -0000 2.7
+++ compress_gz.cc 4 Mar 2003 19:06:47 -0000
@@ -63,12 +63,6 @@ compress_gz::compress_gz (io_stream * pa
 void
 compress_gz::construct (io_stream * parent, const char *openmode)
 {
-  if (!parent)
-    {
-      z_err = Z_STREAM_ERROR;
-      return;
-    }
-
   original = parent;
   peeklen = 0;
   int err;
END-OF-PATCH

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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