| Summary: | [patch] msgctl(3) structure msqid_ds is referenced as shmid_ds | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Vasil Dimov <vd> |
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->patched Committed to HEAD. Thanks! State Changed From-To: patched->closed Merged to RELENG_6. |
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. Fix: -- Vasil Dimov gro.DSBeerF@dv Testing can show the presence of bugs, but not their absence. -- Edsger W. Dijkstra--HWk6lY64NCfXwUNK9kT7kN90pQQayzBfVd4BRN5byPfkBjYu Content-Type: text/plain; name="msgctl.3.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="msgctl.3.diff" 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: