Mailinglist Archive: zypp-commit (149 mails)

< Previous Next >
[zypp-commit] r5381 - in /trunk/libzypp: package/libzypp.changes zypp/source/SourceImpl.cc
  • From: jkupec@xxxxxxxxxxxxxxxx
  • Date: Mon, 16 Apr 2007 09:26:03 -0000
  • Message-id: <20070416092603.7BA831704A@xxxxxxxxxxxxxxxx>
Author: jkupec
Date: Mon Apr 16 11:26:03 2007
New Revision: 5381

URL: http://svn.opensuse.org/viewcvs/zypp?rev=5381&view=rev
Log:
avoiding attaching media where not needed (#263207)

Modified:
    trunk/libzypp/package/libzypp.changes
    trunk/libzypp/zypp/source/SourceImpl.cc

Modified: trunk/libzypp/package/libzypp.changes
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/package/libzypp.changes?rev=5381&r1=5380&r2=5381&view=diff
==============================================================================
--- trunk/libzypp/package/libzypp.changes (original)
+++ trunk/libzypp/package/libzypp.changes Mon Apr 16 11:26:03 2007
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Mon Apr 16 11:23:15 CEST 2007 - jkupec@xxxxxxx
+
+- avoiding attaching media where not needed (#263207)
+- r5381
+
+-------------------------------------------------------------------
 Fri Apr 13 17:32:55 CEST 2007 - dmacvicar@xxxxxxx
 
 - fix FileCap with attributes

Modified: trunk/libzypp/zypp/source/SourceImpl.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/source/SourceImpl.cc?rev=5381&r1=5380&r2=5381&view=diff
==============================================================================
--- trunk/libzypp/zypp/source/SourceImpl.cc (original)
+++ trunk/libzypp/zypp/source/SourceImpl.cc Mon Apr 16 11:26:03 2007
@@ -207,7 +207,7 @@
 {
   if (_media_set)
   {
-    media::MediaAccessId _media = _media_set->getMediaAccessId( 1 );
+    media::MediaAccessId _media = _media_set->getMediaAccessId( 1, true );
     media_mgr.release (_media, false);
   }
 }
@@ -739,7 +739,7 @@
                                    const unsigned media_nr)
 {
   DBG << "releaseFile(" << file_r << ", " << media_nr << ")" << endl;
-  media::MediaAccessId _media = _media_set->getMediaAccessId( media_nr );
+  media::MediaAccessId _media = _media_set->getMediaAccessId( media_nr, true );
   media_mgr.releaseFile(_media, file_r);
 }
 
@@ -748,7 +748,7 @@
                                   const bool recursive)
 {
   DBG << "releaseDir(" << path_r << ", " << media_nr << (recursive?", recursive":"") << ")" << endl;
-  media::MediaAccessId _media = _media_set->getMediaAccessId( media_nr );
+  media::MediaAccessId _media = _media_set->getMediaAccessId( media_nr, true );
   if (recursive)
     media_mgr.releasePath(_media, path_r);
   else

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

< Previous Next >
This Thread
  • No further messages