Changeset a7d1992c in rtems for cpukit/libcsupport/src/write.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/write.c

    rd5d071d ra7d1992c  
    3030)
    3131{
    32   ssize_t  rc;
    3332  rtems_libio_t     *iop;
    3433
     
    4342   *  Now process the write() request.
    4443   */
    45   rc = (*iop->pathinfo.handlers->write_h)( iop, buffer, count );
    46 
    47   if ( rc > 0 )
    48     iop->offset += rc;
    49 
    50   return rc;
     44  return (*iop->pathinfo.handlers->write_h)( iop, buffer, count );
    5145}
Note: See TracChangeset for help on using the changeset viewer.