summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorbodo <bodo>2001-03-08 21:52:53 +0000
committerbodo <bodo>2001-03-08 21:52:53 +0000
commit1b09db32ca2c597c60df1fe83baed37a04434aa9 (patch)
tree21d26e6f7666d693ffb3afececd2d09359d5ca8f /util
parent25d7143a26150b57529e7f9e3f5635d51df06c13 (diff)
downloadopenssl-1b09db32ca2c597c60df1fe83baed37a04434aa9.tar.gz
Avoid problems with multi-line NAME sections.
Diffstat (limited to 'util')
-rwxr-xr-xutil/pod2man.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/pod2man.pl b/util/pod2man.pl
index f5ec0767e..c6b64add6 100755
--- a/util/pod2man.pl
+++ b/util/pod2man.pl
@@ -416,6 +416,8 @@ if ($name ne 'something') {
warn "$0: Improper man page - malformed NAME header in paragraph $. of $ARGV[0]\n"
}
else {
+ $n[0] =~ s/\n/ /;
+ $n[1] =~ s/\n/ /;
%namedesc = @n;
}
}