I think I've GOT IT! The "Cannot open (null) for reading" bug!!!

Robert Collins rbcollins@cygwin.com
Sat Mar 8 22:54:00 GMT 2003


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>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20030308/26a8e871/attachment.sig>


More information about the Cygwin-apps mailing list