From: joey Date: Sun, 10 Aug 2003 03:27:20 +0000 (+0000) Subject: r1584: * Fix a bug in quoted section parsing that put the quotes in the parsed X-Git-Tag: version_4.1.62^0 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3d0aaf0cea94bd00a9ea6bc30ed8388b62c7f38b;p=debhelper.git r1584: * Fix a bug in quoted section parsing that put the quotes in the parsed out section number. Closes: #204731 --- diff --git a/debian/changelog b/debian/changelog index a9f3786..7b6585a 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 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 84b9469..9adca67 100755 --- a/dh_installman +++ b/dh_installman @@ -114,7 +114,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { open (IN, $page) or die "$page: $!"; } while () { - if (/^\.TH\s+\S+\s+"?(\d+\S*)"?/) { + if (/^\.TH\s+\S+\s+"?(\d+[^"\s]*)"?/) { $section=$1; last; }