NetBSD Problem Report #53840
From www@NetBSD.org Mon Jan 7 19:56:03 2019
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id E58B87A18A
for <gnats-bugs@gnats.NetBSD.org>; Mon, 7 Jan 2019 19:56:02 +0000 (UTC)
Message-Id: <20190107195602.0E4237A1F5@mollari.NetBSD.org>
Date: Mon, 7 Jan 2019 19:56:02 +0000 (UTC)
From: jlmuir@imca-cat.org
Reply-To: jlmuir@imca-cat.org
To: gnats-bugs@NetBSD.org
Subject: bozohttpd(8) mentions '-r' option, but not in synopsis
X-Send-Pr-Version: www-1.0
>Number: 53840
>Category: bin
>Synopsis: bozohttpd(8) mentions '-r' option, but not in synopsis
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: mrg
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 07 20:00:00 +0000 2019
>Closed-Date: Tue Jan 08 06:05:08 +0000 2019
>Last-Modified: Tue Jan 08 06:20:00 +0000 2019
>Originator: J. Lewis Muir
>Release: -current
>Organization:
>Environment:
>Description:
The bozohttpd(8) man page
http://netbsd.gw.com/cgi-bin/man-cgi?bozohttpd++NetBSD-current
references the '-r' option in the FILES section, but there is no '-r'
option listed in the SYNOPSIS section.
Looking at main.c
http://cvsweb.netbsd.org/bsdweb.cgi/src/libexec/httpd/main.c?rev=1.22&content-type=text/x-cvsweb-markup&only_with_tag=MAIN
I see a comment that says
-r option was removed, do not reuse it for a while
So, I think the reference in the man page should be removed.
This issue was initially reported via the netbsd-users mailing list
https://mail-index.netbsd.org/netbsd-users/2018/12/11/msg021779.html
but no one replied.
>How-To-Repeat:
n/a
>Fix:
Remove the reference to the '-r' option from the FILES section. I'd submit a patch myself, but it's not super clear to me what the change should be, so I'm leaving it to someone who knows what is being said about the .bzredirect file in the sentence that references the '-r' option.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: bin-bug-people->mrg
Responsible-Changed-By: mrg@NetBSD.org
Responsible-Changed-When: Tue, 08 Jan 2019 06:05:08 +0000
Responsible-Changed-Why:
i fixed it..
State-Changed-From-To: open->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Tue, 08 Jan 2019 06:05:08 +0000
State-Changed-Why:
thanks for the report. i commited a change to remove the mention of -r.
From: "matthew green" <mrg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/53840 CVS commit: src/libexec/httpd
Date: Tue, 8 Jan 2019 06:04:29 +0000
Module Name: src
Committed By: mrg
Date: Tue Jan 8 06:04:29 UTC 2019
Modified Files:
src/libexec/httpd: bozohttpd.8
Log Message:
remove reference to deleted -r option. fixes PR#53840 from J. Lewis Muir.
To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/libexec/httpd/bozohttpd.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.