Avoid problems with multi-line NAME sections.
authorBodo Möller <bodo@openssl.org>
Thu, 8 Mar 2001 21:52:53 +0000 (21:52 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 8 Mar 2001 21:52:53 +0000 (21:52 +0000)
util/pod2man.pl

index f5ec0767ed4b070c9233acf57c7269c49a8adbe2..c6b64add602d7977c13b0675edc7b3f6664425c1 100755 (executable)
@@ -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;
                    }
                }