Bug 60743

Summary: Bug in hypertext version of random (4) manpage
Product: Documentation Reporter: Lucas <aspiesrule>
Component: Books & ArticlesAssignee: Jens Schweikhardt <schweikh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
random.4-patch none

Description Lucas 2003-12-30 23:20:07 UTC
      In the documentation paragraphs for the "kern.random.sys.harvest.ethernet", "kern.random.sys.harvest.point_to_point", and "kern.random.sys.harvest.interrupt" sysctls, the text "one (1)" has been erroneously converted into a hyperlink that tries to search for a (nonexistent) manpage titled "one" in section 1.

Fix: 

Change "<A HREF=...>one (1)</A>" to "one (1)".  Sorry, but I am writing this PR from a Wintel box w/o a working copy of diff, so I cannot provide a patch at this time.
How-To-Repeat:       Read the hypertext manpage for random (4).  Try to click on one of the links to one (1).  Watch man.cgi give up.
Comment 1 Marc Silver 2004-01-17 15:56:14 UTC
Hi,

Due to the fact that the man.cgi dymanically generates the HTML page
from the raw man page, I'm not entirely sure if this problem should be
fixed in man.cgi or in the actual man page.  man.cgi should perhaps be
more stringent when generating links to other pages, as the man page
contains 'one (1)' and not 'one(1)', as is the standard adhered to in
FreeBSD man pages.

That said, my personal feeling is that the man page could more easily be
changed with fewer consequences, and I've attached a patch to that end.
Perhaps someone who knows more than me about this could make a decision
on where the change should go.

Cheers,
Marc
Comment 2 Jens Schweikhardt freebsd_committer freebsd_triage 2004-01-20 21:35:23 UTC
State Changed
From-To: open->patched

Patch committed, thanks! 


Comment 3 Jens Schweikhardt freebsd_committer freebsd_triage 2004-01-20 21:35:23 UTC
Responsible Changed
From-To: freebsd-doc->schweikh

My MFC Reminder.
Comment 4 Jens Schweikhardt freebsd_committer freebsd_triage 2004-02-10 19:35:01 UTC
State Changed
From-To: patched->closed

Not applicable to -STABLE.