bugzilla-daemon at mindrot.org
2002-Apr-15 18:35 UTC
[Bug 217] New: mdoc2man.pl puts wrong name into ssh.1 man page
http://bugzilla.mindrot.org/show_bug.cgi?id=217 Summary: mdoc2man.pl puts wrong name into ssh.1 man page Product: Portable OpenSSH Version: 3.1p1 Platform: All OS/Version: All Status: NEW Severity: minor Priority: P2 Component: Documentation AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: pspencer at fields.utoronto.ca On systems where mdoc2man.pl is used, it puts the wrong name ("sftp" instead of "ssh") into the ssh.1 man page. For example, under GatewayPorts: "By default, sftp binds local port forwardings .... GatewayPorts can be used to specify that sftp should bind local port forwardings ..." The problem is that ssh.1 includes the following lines: when specifying configuration options using the .Nm ssh , .Nm scp and .Nm sftp .Fl o option. In mdoc2man.pl the line ".Nm sftp" sets $name to be "sftp" so subsequent unqualified uses of ".Nm" produce "sftp" instead of "ssh". The attached patch fixes the problem by not allowing $name to be redefined once set. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.