Преглед изворни кода

copy origin and bugs info into status file

Wichert Akkerman пре 24 година
родитељ
комит
0b11b31bce
3 измењених фајлова са 7 додато и 0 уклоњено
  1. 4 0
      ChangeLog
  2. 1 0
      debian/changelog
  3. 2 0
      main/processarc.c

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+Thu Feb  7 15:27:35 CET 2002 Wichert Akkerman <wakkerma@debian.org>
+
+  * main/processarc.c: copy origin and bugs info into status file
+
 Thu Feb  7 00:38:42 CET 2002 Wichert Akkerman <wakkerma@debian.org>
 
   * po/pt_BR.po: Fix bogosity in previous update

+ 1 - 0
debian/changelog

@@ -81,6 +81,7 @@ dpkg (1.10) unstable; urgency=low
   * Fix dselect spin when run without input. Closes: Bug#132476
   * Update-alternatives correctly restored an alternative to auto mode
     when removing a manually selected alternative. Closes: Bug#132632
+  * Copy bugs and origin information into status file. Closes: Bug#132714
 
  -- Wichert Akkerman <wakkerma@debian.org>  Mon, 20 Aug 2001 14:54:38 +0200
 

+ 2 - 0
main/processarc.c

@@ -793,6 +793,8 @@ void process_archive(const char *filename) {
   pkg->installed.architecture= 0; /* This is irrelevant in the status file. */
   pkg->installed.installedsize= pkg->available.installedsize;
   pkg->installed.version= pkg->available.version;
+  pkg->installed.origin = pkg->available.origin;                               
+  pkg->installed.bugs = pkg->available.bugs;                                   
 
   /* We have to generate our own conffiles structure. */
   pkg->installed.conffiles= 0; iconffileslastp= &pkg->installed.conffiles;