]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/cdrom.cc:
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 9 Jun 2012 20:15:51 +0000 (22:15 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 9 Jun 2012 20:15:51 +0000 (22:15 +0200)
  - fix regression from 0.9.3 which dumped the main configuration
    _config instead of the cdrom settings (Cnf) as identified and
    tested by Milan Kupcevic, thanks! (Closes: #674100)

apt-pkg/cdrom.cc
debian/changelog

index c10ca6bd1e0e15c5e211c2b9300112a2c82fcb38..8462e82860cd721bbe280b82fd77d03103e9e991 100644 (file)
@@ -409,7 +409,7 @@ bool pkgCdrom::WriteDatabase(Configuration &Cnf)
    
    /* Write out all of the configuration directives by walking the
       configuration tree */
-   _config->Dump(Out, NULL, "%f \"%v\";\n", false);
+   Cnf.Dump(Out, NULL, "%f \"%v\";\n", false);
 
    Out.close();
 
index 44a6b6b906c4cd95c7f1b3caa85d6d2a975e3a10..9a135db015cf1db05f9d99cbcdd834a4a4ca8da5 100644 (file)
@@ -1,6 +1,10 @@
 apt (0.9.5.2) UNRELEASED; urgency=low
 
   [ David Kalnischkies ]
+  * apt-pkg/cdrom.cc:
+    - fix regression from 0.9.3 which dumped the main configuration
+      _config instead of the cdrom settings (Cnf) as identified and
+      tested by Milan Kupcevic, thanks! (Closes: #674100)
   * cmdline/apt-get.cc:
     - do not show 'list of broken packages' header if no package
       is broken as it happens e.g. for external resolver errors