[Bug 1977] New: mq_open lacks support of "mode" argument

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Dec 1 03:30:16 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1977

           Summary: mq_open lacks support of "mode" argument
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: ralf.corsepius at rtems.org


mq_open in cpukit/posix/src/mqueueopen.c lacks support of mq_open's "mode"
argument:

mqd_t mq_open(const char *name, int oflag);
mqd_t mq_open(const char *name, int oflag, mode_t mode,
                     struct mq_attr *attr);

The RTEMS implementation only pretends to be supporting it, 
which also reflects in a GCC warning:
cpukit/posix/src/mqueueopen.c:54:35: warning: variable 'mode' set but not used

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list