summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey>2003-08-10 03:27:20 +0000
committerjoey <joey>2003-08-10 03:27:20 +0000
commit3d0aaf0cea94bd00a9ea6bc30ed8388b62c7f38b (patch)
treefe20710be57cdfc73e7a35c5006304ab06cc43af
parent8406a1dbd219c99c3039d66c158fb842a2fb0833 (diff)
downloaddebhelper-3d0aaf0cea94bd00a9ea6bc30ed8388b62c7f38b.tar.gz
r1584: * Fix a bug in quoted section parsing that put the quotes in the parsedversion_4.1.62
out section number. Closes: #204731
-rw-r--r--debian/changelog7
-rwxr-xr-xdh_installman2
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index a9f3786e..7b6585a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debhelper (4.1.62) unstable; urgency=low
+
+ * Fix a bug in quoted section parsing that put the quotes in the parsed
+ out section number. Closes: #204731
+
+ -- Joey Hess <joeyh@debian.org> Sat, 9 Aug 2003 22:25:23 -0400
+
debhelper (4.1.61) unstable; urgency=low
* dh_makeshlibs: only scan files matching *.so.* and *.so, not *.so*.
diff --git a/dh_installman b/dh_installman
index 84b9469a..9adca670 100755
--- a/dh_installman
+++ b/dh_installman
@@ -114,7 +114,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
open (IN, $page) or die "$page: $!";
}
while (<IN>) {
- if (/^\.TH\s+\S+\s+"?(\d+\S*)"?/) {
+ if (/^\.TH\s+\S+\s+"?(\d+[^"\s]*)"?/) {
$section=$1;
last;
}