This is the mail archive of the cygwin-apps@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: I think I've GOT IT! The "Cannot open (null) for reading"bug!!!


On Sun, 2003-03-09 at 07:41, Max Bowsher wrote:
> I traced it to this curious condition:
> 
> pkg.desired.sourcePackage()          == false &&
> pkg.desired.sourcePackage().picked() == true
> 
> How? Well, it turns out that the defaultversion placeholder object used,
> amongst other circumstances, when a package is has no source package, is
> returning *true* to picked()!
> 
> Robert, how do you think this should be fixed?

Offhand, without referencing the source - make the defaultversion return
false to picked().

Rob
-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part


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