Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

documentation/2963: mistake in queue man page ( circleq example )

From: <ps0(at)igmp.com.ar>
Date: Wed Oct 16 2002 - 13:10:14 EDT


>Number: 2963
>Category: documentation
>Synopsis: mistake in queue man page ( circleq example )
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 07 13:23:28 MST 2002
>Closed-Date:
>Last-Modified:
>Originator: Hector Paterno
>Release: 3.1
>Organization:

DSN
>Environment:
        

	System      : OpenBSD 3.1
	Architecture: OpenBSD.i386
	Machine     : i386

>Description:
there is a mistake in the queue man page, CIRCULAR QUEUE EXAMPLE : CIRCLEQ_HEAD(circleq, entry) head; struct circleq *headp; /* Circular queue head. */ struct entry { ... CIRCLEQ_ENTRY entries; /*Circular queue. */ ... } *n1, *n2, *np; Should be : CIRCLEQ_HEAD(circleq, entry) head; struct circleq *headp; /* Circular queue head. */ struct entry { ... CIRCLEQ_ENTRY(entry) entries; /*Circular queue. */ ... } *n1, *n2, *np; diff like : -CIRCLEQ_ENTRY entries; /*Circular queue. */ +CIRCLEQ_ENTRY(entry) entries; /*Circular queue. */
>How-To-Repeat:
Test the example given in the man page.
>Fix:
diff like : -CIRCLEQ_ENTRY entries; /*Circular queue. */ +CIRCLEQ_ENTRY(entry) entries; /*Circular queue. */

>Release-Note:
Received on Thu Nov 7 16:40:53 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:37 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library