Просмотр исходного кода

Close the old debian/files file, before doing a rename.

Adam Heath лет назад: 24
Родитель
Сommit
db94ef3800
3 измененных файлов с 8 добавлено и 0 удалено
  1. 5 0
      ChangeLog
  2. 2 0
      debian/changelog
  3. 1 0
      scripts/dpkg-gencontrol.pl

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+Fri May 24 22:06:48 CDT 2002 Adam Heath <doogie@debian.org>
+
+  * scripts/dpkg-gencontrol.pl: Close the old debian/files file,
+    before doing a rename.
+
 Fri May 24 22:00:01 CDT 2002 Adam Heath <doogie@debian.org>
 
   * scripts/dpkg-buildpackage.sh, scripts/dpkg-source.pl,

+ 2 - 0
debian/changelog

@@ -107,6 +107,8 @@ dpkg (1.10) unstable; urgency=low
     counting all variable expansions.  Closes: #144121.
   * Add -I<filename> to dpkg-buildpackage and dpkg-source, to excludes
     files from tar, when building a native package.  Closes: Bug#75947.
+  * Close the old debian/files file, before doing a rename.  Closes:
+    Bug#111503.
 
  -- Wichert Akkerman <wakkerma@debian.org>  Mon, 20 Aug 2001 14:54:38 +0200
 

+ 1 - 0
scripts/dpkg-gencontrol.pl

@@ -220,6 +220,7 @@ if (open(X,"< $fileslistfile")) {
                 && ($1 eq $oppackage) && ($2 eq $arch || $2 eq 'all');
         print(Y "$_\n") || &syserr("copy old entry to new files list file");
     }
+    close(X) || &syserr("close old files list file");
 } elsif ($! != ENOENT) {
     &syserr("read old files list file");
 }