Mailinglist Archive: zypp-commit (325 mails)

< Previous Next >
[zypp-commit] r7119 - /trunk/libzypp/zypp/solver/detail/QueueItemRequire.cc
  • From: schubi2@xxxxxxxxxxxxxxxx
  • Date: Thu, 06 Sep 2007 10:33:05 -0000
  • Message-id: <20070906103305.EC294239E0@xxxxxxxxxxxxxxxx>
Author: schubi2
Date: Thu Sep  6 12:33:05 2007
New Revision: 7119

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7119&view=rev
Log:
checking item before evaluate the concerning vendor

Modified:
    trunk/libzypp/zypp/solver/detail/QueueItemRequire.cc

Modified: trunk/libzypp/zypp/solver/detail/QueueItemRequire.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/solver/detail/QueueItemRequire.cc?rev=7119&r1=7118&r2=7119&view=diff
==============================================================================
--- trunk/libzypp/zypp/solver/detail/QueueItemRequire.cc (original)
+++ trunk/libzypp/zypp/solver/detail/QueueItemRequire.cc Thu Sep  6 12:33:05 2007
@@ -348,7 +348,9 @@
        } else if (provider.status().isKept() && provider.status().isByUser()) {
            misc_info = new ResolverInfoMisc (RESOLVER_INFO_TYPE_KEEP_PROVIDER, requirer, RESOLVER_INFO_PRIORITY_VERBOSE, match);
            misc_info->setOtherPoolItem (provider);      
-       } else  if (!VendorAttr::instance().equivalent(provider->vendor(), requirer->vendor())) {
+       } else  if (provider
+                   && requirer
+                   && !VendorAttr::instance().equivalent(provider->vendor(), requirer->vendor())) {
            misc_info = new ResolverInfoMisc (RESOLVER_INFO_TYPE_OTHER_VENDOR_PROVIDER,
                                                                   requirer, RESOLVER_INFO_PRIORITY_VERBOSE, match);
            misc_info->setOtherPoolItem (provider);

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages