summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-03-08 21:52:53 +0000
committerBodo Möller <bodo@openssl.org>2001-03-08 21:52:53 +0000
commit4ea38555148b23639e8c3e44b70bccbc765b9aa5 (patch)
treefde75688f024fb51f34390e41330ea33fc21cef5 /util
parent20a9b1a7cfbd0e59640ec806d7aa981577902b02 (diff)
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 f5ec0767ed..c6b64add60 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;
}
}