This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin setup crashes


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]