[Bug 224299] sys/msg.h improperly declares struct mymsg

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 12 23:30:40 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224299

            Bug ID: 224299
           Summary: sys/msg.h improperly declares struct mymsg
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: brooks at FreeBSD.org

sys/msg.h declares the struct mymsg from the example in the posix manpage.  The
POSIX manpage is clear that this is user defined:

> The structure below is an example of what this user-defined buffer might look like:
> 
> struct mymsg {
>     long   mtype;       /* Message type. */
>     char   mtext[1];    /* Message text. */
> }

This should be removed and a ports exprun should be performed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list