Re: typo in sparc page : sektion => section

"Constantine A. Murenin" <[email protected]>
Newsgroups gmane.os.openbsd.www
Message-ID <[email protected]>
On 23/11/2008, Stuart Henderson <[email protected]> wrote:
> In gmane.os.openbsd.www, you wrote:
>  > Hi,
>  >
>  > In the page : http://www.openbsd.org/sparc.html
>  > Most links point to "sektion" like this one :
>  > http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=cgsix&sektion=4
>  >
>  > Should link to "section" :
>  > http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=cgsix&section=4
>
>
> Not correct actually; compare these:
>
>  http://www.openbsd.org/cgi-bin/man.cgi?query=pppoe&sektion=4 (good)
>  http://www.openbsd.org/cgi-bin/man.cgi?query=pppoe&section=4 (wrong)
>
>  There is some problem with the arch-dependent pages like cgsix(4) though.

I think the bug has something to do with the 'manpath' mangling when a
non-zero 'sektion' is specified.

If the 'sektion' parameter is set to anything other than 0, then the
'manpath' appears to be mangled, and expected manual pages are not
returned.

How to reproduce:

the following two links work as expected, showing the current manual
pages; however, links to several new drivers, that include the correct
'sektion' parameter, don't work due to the bug:
http://www.openbsd.org/cgi-bin/man.cgi?query=acpi
http://www.openbsd.org/cgi-bin/man.cgi?query=acpi&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html

the following two links show a manual page from the past, instead of -current:
http://www.openbsd.org/cgi-bin/man.cgi?query=acpi&sektion=4
http://www.openbsd.org/cgi-bin/man.cgi?query=acpi&apropos=0&sektion=4&manpath=OpenBSD+Current&arch=i386&format=html


One more example:

the following two pages should be different, but they are the same,
unless the 'sektion' is ommittted or set to 0:
http://www.openbsd.org/cgi-bin/man.cgi?query=km&sektion=4&manpath=OpenBSD+4.4
http://www.openbsd.org/cgi-bin/man.cgi?query=km&sektion=4&manpath=OpenBSD+4.5
http://www.openbsd.org/cgi-bin/cvsweb/src/share/man/man4/km.4


Bob, could you take a look, please?

C.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.