NetBSD Problem Report #50845

From www@NetBSD.org  Wed Feb 24 18:05:30 2016
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 "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 29D7E7ABD1
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 24 Feb 2016 18:05:30 +0000 (UTC)
Message-Id: <20160224180528.805637ACD7@mollari.NetBSD.org>
Date: Wed, 24 Feb 2016 18:05:28 +0000 (UTC)
From: joseyluis@gmail.com
Reply-To: joseyluis@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Fix man page queue (3)
X-Send-Pr-Version: www-1.0

>Number:         50845
>Category:       kern
>Synopsis:       Fix man page queue (3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pgoyette
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 24 18:10:00 +0000 2016
>Closed-Date:    Tue May 31 06:05:50 +0000 2016
>Last-Modified:  Tue May 31 06:05:50 +0000 2016
>Originator:     Jose Luis Rodriguez Garcia
>Release:        Current and 7.0 at least
>Organization:
>Environment:
>Description:
The man page queue (3) wrongly states:
 All five structures support the following functionality:
....
2.   Insertion of a new entry before or after any element in the
                list.

I belive than SLIST and someone more don't allow add new entries before of any element in the list.
>How-To-Repeat:

>Fix:
--- queue.3.orig	2016-02-24 18:54:53.000000000 +0100
+++ queue.3	2016-02-24 18:56:36.000000000 +0100
@@ -256,7 +256,7 @@
 .It
 Insertion of a new entry at the head of the list.
 .It
-Insertion of a new entry before or after any element in the list.
+Insertion of a new entry after any element in the list.
 .It
 Removal of any entry in the list.
 .It

>Release-Note:

>Audit-Trail:
From: "Paul Goyette" <pgoyette@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50845 CVS commit: src/share/man/man3
Date: Tue, 31 May 2016 06:00:39 +0000

 Module Name:	src
 Committed By:	pgoyette
 Date:		Tue May 31 06:00:39 UTC 2016

 Modified Files:
 	src/share/man/man3: queue.3

 Log Message:
 Correct list of operations to note that SLISTs and SIMPLEQs cannot insert
 entries before existing entries.  This can only be done for LISTs and
 TAILQs.

 Fixes PR kern/50845


 To generate a diff of this commit:
 cvs rdiff -u -r1.51 -r1.52 src/share/man/man3/queue.3

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: kern-bug-people->pgoyette
Responsible-Changed-By: pgoyette@NetBSD.org
Responsible-Changed-When: Tue, 31 May 2016 06:05:50 +0000
Responsible-Changed-Why:
I took care of it.


State-Changed-From-To: open->closed
State-Changed-By: pgoyette@NetBSD.org
State-Changed-When: Tue, 31 May 2016 06:05:50 +0000
State-Changed-Why:
Man page updated as requested.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.