]> andersk Git - openssh.git/commitdiff
- (djm) Fix .Nm in mdoc2man.pl from pspencer@fields.utoronto.ca
authordjm <djm>
Wed, 17 Apr 2002 02:30:45 +0000 (02:30 +0000)
committerdjm <djm>
Wed, 17 Apr 2002 02:30:45 +0000 (02:30 +0000)
ChangeLog
mdoc2man.pl

index 4d30cbf34e28196b4fbc928f1baf2ce4ca19c893..cae04c67484d8d6df22b1e67549b2e6237ea0901 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 20020417
  - (djm) Tell users to configure /dev/random support into OpenSSL in INSTALL
+ - (djm) Fix .Nm in mdoc2man.pl from pspencer@fields.utoronto.ca
 
 20020415
  - (djm) Unbreak "make install". Fix from Darren Tucker <dtucker@zip.com.au>
index fddb2e09d06df313cb55a4ea71ff1e5605dc602a..928fc5d7a33488c8a0abc7bf5088ebd3c9878086 100644 (file)
@@ -318,11 +318,13 @@ sub ParseMacro # ($line)
 
                if (/^Nm$/)
                {
-                       $name = shift @words
+                       my $n = $name;
+                       $n = shift @words
                                if (@words > 0);
+                       $name = $n unless $name;
                        $retval .= ".br\n"
                                if ($synopsis);
-                       $retval .= "\\fB$name\\fP";
+                       $retval .= "\\fB$n\\fP";
                        $nospace = 1
                                if (! $nospace && $words[0] =~ m/^[\.,]/);
                        next;
This page took 1.010436 seconds and 5 git commands to generate.