From: Bodo Möller Date: Thu, 8 Mar 2001 21:52:53 +0000 (+0000) Subject: Avoid problems with multi-line NAME sections. X-Git-Tag: OpenSSL_0_9_6a-beta2~17^2~41 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=4ea38555148b23639e8c3e44b70bccbc765b9aa5;ds=sidebyside Avoid problems with multi-line NAME sections. --- 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; } }