Bug#43269: [PATCH] error in count of entries written
Package: dpkg-dev
Version: 1.4.1.6
Severity: normal
If dpkg-scanpackages is invoked to process an empty directory, it will
output the message `Wrote entries to output Packages file.'... note
that the entries-written field is blank. I am enclosing a small patch
which corrects this.
Thanx!
----- CUT HERE -----
diff -urN dpkg-1.4.1.6.orig/scripts/dpkg-scanpackages.pl dpkg-1.4.1.6/scripts/dpkg-scanpackages.pl
--- dpkg-1.4.1.6.orig/scripts/dpkg-scanpackages.pl Wed May 26 08:38:15 1999
+++ dpkg-1.4.1.6/scripts/dpkg-scanpackages.pl Fri Aug 20 16:11:42 1999
@@ -26,6 +26,7 @@
'MD5sum',
'Description');
+$written=0;
$i=100; grep($pri{$_}=$i--,@fieldpri);
$#ARGV == 1 || $#ARGV == 2
----- CUT HERE -----
-- System Information
Debian Release: potato
Architecture: i386
Kernel: Linux glitch 2.2.11 #1 SMP Sun Aug 15 21:37:51 CDT 1999 i686
Versions of packages dpkg-dev depends on:
ii perl-5.005 [perl5] 5.005.03-3 Larry Wall's Practical Extracting
-- Configuration Files:
/etc/dpkg/shlibs.default changed [not included]
Reply to: