Changeset e5ca6593 in rtems


Ignore:
Timestamp:
08/21/11 19:59:03 (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
08ef1631
Parents:
74ac113
Message:

2011-08-21 Joel Sherrill <joel.sherrilL@…>

PR 1890/cpukit

  • posix/src/mqueuerecvsupp.c: POSIX says msg_prio is allowed to be NULL.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r74ac113 re5ca6593  
     12011-08-21      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        PR 1890/cpukit
     4        * posix/src/mqueuerecvsupp.c: POSIX says msg_prio is allowed to be
     5        NULL.
     6
    172011-08-21      Joel Sherrill <joel.sherrilL@OARcorp.com>
    28
  • cpukit/posix/src/mqueuerecvsupp.c

    r74ac113 re5ca6593  
    1212 *         time.
    1313 *
    14  *  COPYRIGHT (c) 1989-2008.
     14 *  COPYRIGHT (c) 1989-2011.
    1515 *  On-Line Applications Research Corporation (OAR).
    1616 *
     
    106106
    107107      _Thread_Enable_dispatch();
    108       *msg_prio =
    109         _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
     108      if (msg_prio) {
     109        *msg_prio = _POSIX_Message_queue_Priority_from_core(
     110             _Thread_Executing->Wait.count
     111          );
     112      }
    110113
    111114      if ( !_Thread_Executing->Wait.return_code )
Note: See TracChangeset for help on using the changeset viewer.