Changeset 0732eb4 in rtems


Ignore:
Timestamp:
05/21/04 20:12:26 (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
cfc43898
Parents:
e2ce15fc
Message:

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

PR 629/rtems

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

Legend:

Unmodified
Added
Removed
  • cpukit/posix/ChangeLog

    re2ce15fc r0732eb4  
     12004-05-21  Joel Sherrill <joel@OARcorp.com>
     2
     3        PR 629/rtems
     4        * src/mqueuecreatesupp.c: Return EINVAL is mq_maxmsg is <= 0, not <.
     5
    162004-02-26      Joel Sherrill <joel@OARcorp.com>
    27
  • cpukit/posix/src/mqueuecreatesupp.c

    re2ce15fc r0732eb4  
    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.