Changeset 81cd377 in rtems


Ignore:
Timestamp:
Aug 28, 2007, 2:05:20 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
cb69a208
Parents:
4d111157
Message:

2007-08-28 Joel Sherrill <joel.sherrill@…>

  • ChangeLog?, sapi/src/io.c: Revert change accidentally committed to io.c.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r4d111157 r81cd377  
    112007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
    22
     3        * ChangeLog, sapi/src/io.c: Revert change accidentally committed to
     4        io.c.
     5
     62007-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
     7
    38        PR 1256/networking
    4         * ftpd/ftpd.c, sapi/src/io.c: Fix unaligned access.
     9        * ftpd/ftpd.c: Fix unaligned access.
    510
    6112007-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
  • cpukit/sapi/src/io.c

    r4d111157 r81cd377  
    137137    if ( major == 0 )
    138138    {
    139         bool found = FALSE;
    140139        for ( major = _IO_Number_of_drivers - 1 ; major ; major-- )
    141140            if ( _IO_Driver_address_table[major].initialization_entry == 0 &&
    142                  _IO_Driver_address_table[major].open_entry == 0 ) {
    143                 found = FALSE;
     141                 _IO_Driver_address_table[major].open_entry == 0 )
    144142                break;
    145             }
    146 
    147         if ( !found )
    148           return RTEMS_TOO_MANY;
     143
     144        if (( major == 0 ) &&
     145            ( _IO_Driver_address_table[major].initialization_entry == 0 &&
     146              _IO_Driver_address_table[major].open_entry == 0 ))
     147            return RTEMS_TOO_MANY;
    149148    }
    150149
Note: See TracChangeset for help on using the changeset viewer.