Mailinglist Archive: zypp-commit (348 mails)

< Previous Next >
[zypp-commit] r9296 - /trunk/zypper/src/zypper-misc.cc
  • From: jkupec@xxxxxxxxxxxxxxxx
  • Date: Fri, 28 Mar 2008 15:51:05 -0000
  • Message-id: <20080328155105.632AE2BBB8@xxxxxxxxxxxxxxxx>
Author: jkupec
Date: Fri Mar 28 16:51:05 2008
New Revision: 9296

URL: http://svn.opensuse.org/viewcvs/zypp?rev=9296&view=rev
Log:
- check zypp != null when cleaning (bnc #372696)

Modified:
trunk/zypper/src/zypper-misc.cc

Modified: trunk/zypper/src/zypper-misc.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-misc.cc?rev=9296&r1=9295&r2=9296&view=diff
==============================================================================
--- trunk/zypper/src/zypper-misc.cc (original)
+++ trunk/zypper/src/zypper-misc.cc Fri Mar 28 16:51:05 2008
@@ -397,6 +397,11 @@

void remove_selections(Zypper & zypper)
{
+ // zypp gets initialized only upon the first successful processing of
+ // command options, if the command was not the 'help'. bnc #372696
+ if (!God)
+ return;
+
MIL << "Removing user selections from the solver pool" << endl;

DBG << "Removing user setToBeInstalled()/Removed()" << endl;

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

< Previous Next >
This Thread
  • No further messages