Changeset c77a64f in mainline for uspace/lib/libc/generic/io/io.c


Ignore:
Timestamp:
2010-01-10T12:22:14Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c01702
Parents:
5f70118
Message:

Must clear error indicator when reading/writing blocks in file_bd, otherwise a read beyond the end of device would render it unusable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/io/io.c

    r5f70118 rc77a64f  
    595595}
    596596
     597void clearerr(FILE *stream)
     598{
     599        stream->eof = false;
     600        stream->error = false;
     601}
     602
    597603int fphone(FILE *stream)
    598604{
Note: See TracChangeset for help on using the changeset viewer.