Date: Thu, 3 Aug 2006 14:23:20 +0300 From: Vasil Dimov <vd@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/101314: [patch] msgctl(3) structure msqid_ds is referenced as shmid_ds Message-ID: <20060803112320.GA2214@qlovarnika.bg.datamax> Resent-Message-ID: <200608031130.k73BUFrv074079@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 101314
>Category: docs
>Synopsis: [patch] msgctl(3) structure msqid_ds is referenced as shmid_ds
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 03 11:30:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Vasil Dimov
>Release: FreeBSD 6.1-STABLE amd64
>Organization:
N/A
>Environment:
>Description:
msgctl(3) reads:
...
struct msqid_ds {
struct ipc_perm msg_perm; /* msg queue permission bits
...
The ipc_perm structure used inside the shmid_ds structure is defined in
Which is obviously a copy-paste typo.
>How-To-Repeat:
>Fix:
--- msgctl.3.diff begins here ---
Index: msgctl.3
===================================================================
RCS file: /home/ncvs/src/lib/libc/gen/msgctl.3,v
retrieving revision 1.19
diff -u -r1.19 msgctl.3
--- msgctl.3 8 Sep 2003 19:57:14 -0000 1.19
+++ msgctl.3 3 Aug 2006 11:17:06 -0000
@@ -83,7 +83,7 @@
The
.Vt ipc_perm
structure used inside the
-.Vt shmid_ds
+.Vt msqid_ds
structure is defined in
.In sys/ipc.h
and looks like this:
--- msgctl.3.diff ends here ---
--
Vasil Dimov
gro.DSBeerF@dv
Testing can show the presence of bugs, but not their absence.
-- Edsger W. Dijkstra
>Release-Note:
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060803112320.GA2214>
