On Tue, Jul 28, 2009 at 02:28:34PM +0200, Alban Browaeys <[email protected]> was heard to say: > To reproduce I do an "U" then "e" in aptitude --no-gui -t experimental > > > update_dep_display seems broken to me . It calls d.get_dep() on a d that > could be set to have cache int 0 and start int 4 (because of the > unhighlights that cause this d to be an invalid d as told in the empty > args constructor for aptitude_resolver_dep )
get_dep().end() is the proper way to test for whether a dependency is valid. For dependencies constructed with the default constructor, it should return an end iterator. Unfortunately, this got broken when the universe layer was rewritten to conserve memory. Easy to fix, though: just have end() check or a NULL cache. Daniel _______________________________________________ Aptitude-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/aptitude-devel

