Changeset 58accdd in rtems


Ignore:
Timestamp:
05/21/04 20:11:48 (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
138aa38
Parents:
34d934a
Message:

2004-05-21 Joel Sherrill <joel@…>

PR 629/rtems

  • cpukit/src/mqueuecreatesupp.c: Return EINVAL is mq_maxmsg is <= 0, not <.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r34d934a r58accdd  
     12004-05-21  Joel Sherrill <joel@OARcorp.com>
     2
     3        PR 629/rtems
     4        * cpukit/src/mqueuecreatesupp.c: Return EINVAL is mq_maxmsg is
     5        <= 0, not <.
     6
    172004-05-21      Till Strauman <strauman@slac.stanford.edu>
    28
  • cpukit/posix/src/mqueuecreatesupp.c

    r34d934a r58accdd  
    7777    attr.mq_msgsize = 16;
    7878  } else {
    79     if ( attr_ptr->mq_maxmsg < 0 ){
     79    if ( attr_ptr->mq_maxmsg <= 0 ){
    8080      _Thread_Enable_dispatch();
    8181      rtems_set_errno_and_return_minus_one( EINVAL );
    8282    }
    8383
    84     if ( attr_ptr->mq_msgsize < 0 ){
     84    if ( attr_ptr->mq_msgsize <= 0 ){
    8585      _Thread_Enable_dispatch();
    8686      rtems_set_errno_and_return_minus_one( EINVAL );
Note: See TracChangeset for help on using the changeset viewer.