ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/09/26/12:43:14

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Wed, 26 Sep 2001 12:43:41 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-apps AT cygwin DOT com, cygwin-patches AT cygwin DOT com
Subject: Re: setup.exe crashs / setup.ini patch for perl
Message-ID: <20010926124341.B22544@redhat.com>
Reply-To: cygwin-patches AT cygwin DOT com
Mail-Followup-To: cygwin-apps AT cygwin DOT com, cygwin-patches AT cygwin DOT com
References: <3BB1A27D DOT 4773 DOT 50774CA1 AT localhost> <002e01c1467b$ba63f800$0200a8c0 AT lifelesswks> <004801c14680$2877c2a0$0200a8c0 AT lifelesswks>
Mime-Version: 1.0
In-Reply-To: <004801c14680$2877c2a0$0200a8c0@lifelesswks>
User-Agent: Mutt/1.3.21i

Please check this in, if you haven't already.

Thanks.

cgf

On Wed, Sep 26, 2001 at 09:41:18PM +1000, Robert Collins wrote:
>This patch (against cvs) should fix it all.
>
>Index: choose.cc
>===================================================================
>RCS file: /cvs/src/src/winsup/cinstall/choose.cc,v
>retrieving revision 2.47
>diff -u -p -r2.47 choose.cc
>--- choose.cc 2001/08/05 01:38:46 2.47
>+++ choose.cc 2001/09/26 11:38:14
>@@ -803,7 +803,10 @@ _view::insert_pkg (Package *pkg)
>        /* this should be a generic call to list_sort_cmp */
>        if (lines[n].get_category ()
>     && cat->name == lines[n].get_category ()->name)
>+  {
>     insert_under (n, line);
>+    n = nlines;
>+  }
>        n++;
>      }
>    if (n == nlines)
>Index: iniparse.y
>===================================================================
>RCS file: /cvs/src/src/winsup/cinstall/iniparse.y,v
>retrieving revision 2.11
>diff -u -p -r2.11 iniparse.y
>--- iniparse.y 2001/08/05 01:38:46 2.11
>+++ iniparse.y 2001/09/26 11:38:14
>@@ -188,6 +188,8 @@ register_category (char *name)
>  }
>       else
>  {
>+   tempcat->next = sortcat->next;
>+   sortcat->next = tempcat;
>    while (sortcat->next &&
>    strcasecmp(sortcat->next->name, tempcat->name) < 0)
>      {
>
>
>
>ChangeLog
>Web Sep 26 21:39:00  Robert Collins rbtcollins AT hotmail DOT com
>
>    * choose.cc (_view::insert_pkg): Correctly exit loop.
>    * iniparse.y (register_category): Always insert new categories.
>
>Rob
>----- Original Message -----
>From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
>To: <gp AT familiehaase DOT de>; <cygwin-apps AT cygwin DOT com>
>Cc: <cygwin-patches AT cygwin DOT com>
>Sent: Wednesday, September 26, 2001 9:09 PM
>Subject: Re: setup.exe crashs / setup.ini patch for perl
>
>
>> ----- Original Message -----
>> From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
>> To: <cygwin-apps AT cygwin DOT com>
>> Cc: <cygwin-patches AT cygwin DOT com>
>> Sent: Wednesday, September 26, 2001 5:40 PM
>> Subject: setup.exe crashs / setup.ini patch for perl
>>
>>
>> > Hi,
>> >
>> > I will be OOO (out of office:) the next week, unfortunately I will
>not
>> > be able to do more debugging on setup.exe <-> choose.cc, it just
>> starts
>> > making fun:)
>> >
>> > But some hints:
>> > ===============
>> > The original (CVS) setup.exe crashes only if you have some packages
>> with
>> > dependencies NOT installed.
>>
>> Thank you thank you thank you. I can reproduce the fault now.
>>
>> Rob
>>
>>

-- 
cgf AT cygnus DOT com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/

- Raw text -


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