Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <022701c2e5e4$6364a680$78d96f83@pomello>
From: "Max Bowsher" <maxb@ukf.net>
To: "Cygwin \(Robert Collins\)" <cygwin@cygwin.com>
Cc: <cygwin-apps@cygwin.com>
References: <010201c2e5b3$1995a760$78d96f83@pomello> <1047163958.7465.102.camel@localhost> <01a701c2e5c7$a2da66f0$78d96f83@pomello> <013601c2e5e2$9c275c30$0400a8c0@robertcollins.net>
Subject: Re: I think I've GOT IT! The "Cannot open (null) for reading"bug!!!
Date: Sun, 9 Mar 2003 02:34:19 -0000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Cygwin (Robert Collins) wrote:
> I've tweaked packageversion to
> use a mutator function, and overriden it in defaultversion. You can
> equally trip an Exception in _defaultversion::pick(bool) if you want
> to find where it was being set. I'll be interested to know if this
> solves the problem ( I presume you've managed to create a test case ).

Solved!

My test case was this:
Have an [exp] package installed. Setup wants to revert it to [curr]. Click
once, changing it to setup. Cycle round to "Partial" again. All the
binary-only packages are now showing in partial, but as Keep! Click twice on
any one of these (cycling it away and then back to Keep). Cycle round the
views again, back to Partial. Now the extra packages are not erroneously
listed.

My [exp] package was actually loaded from a second, local, setup.ini. I
never tested whether this mattered or not.

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/

