Changeset ce05fa6 in rtems


Ignore:
Timestamp:
Aug 21, 2011, 8:00:01 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
83fec7c2
Parents:
970e001
Message:

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

PR 1890/cpukit

  • psxmsgq01/init.c: POSIX says msg_prio is allowed to be NULL.
Location:
testsuites/psxtests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    r970e001 rce05fa6  
     12011-08-21      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        PR 1890/cpukit
     4        * psxmsgq01/init.c: POSIX says msg_prio is allowed to be NULL.
     5
    162011-07-31      Joel Sherrill <joel.sherrilL@OARcorp.com>
    27
  • testsuites/psxtests/psxmsgq01/init.c

    r970e001 rce05fa6  
    790790)
    791791{
    792   char message[ 100 ];
    793   unsigned int priority;
    794   struct timespec tm;
    795   struct timeval  tv1, tv2, tv3;
    796   struct timezone tz1, tz2;
     792  char             message[ 100 ];
     793  struct timespec  tm;
     794  struct timeval   tv1, tv2, tv3;
     795  struct timezone  tz1, tz2;
    797796  int              status;
    798797
     
    807806  tm.tv_nsec = tv1.tv_usec * 1000;
    808807
    809   status = mq_timedreceive( Test_q[ que ].mq, message, 100, &priority, &tm );
     808  status = mq_timedreceive( Test_q[ que ].mq, message, 100, NULL, &tm );
    810809
    811810  gettimeofday( &tv2, &tz2 );
Note: See TracChangeset for help on using the changeset viewer.