Changeset a7d1992c in rtems for cpukit/libcsupport/src/read.c


Ignore:
Timestamp:
May 15, 2012, 8:06:18 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Children:
1c0263c
Parents:
d5d071d (diff), da154e14 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'upstream'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/read.c

    rd5d071d ra7d1992c  
    2323)
    2424{
    25   ssize_t      rc;
    2625  rtems_libio_t *iop;
    2726
     
    3635   *  Now process the read().
    3736   */
    38   rc = (*iop->pathinfo.handlers->read_h)( iop, buffer, count );
    39 
    40   if ( rc > 0 )
    41     iop->offset += rc;
    42 
    43   return rc;
     37  return (*iop->pathinfo.handlers->read_h)( iop, buffer, count );
    4438}
    4539
Note: See TracChangeset for help on using the changeset viewer.