Changeset a955fcc in mainline


Ignore:
Timestamp:
2015-09-25T17:57:56Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8a637a4
Parents:
80bee81
Message:

Must update bytes_left when reading from ungetc() buffer.

File:
1 edited

Legend:

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

    r80bee81 ra955fcc  
    505505                *dp++ = stream->ungetc_buf[--stream->ungetc_chars];
    506506                ++total_read;
     507                --bytes_left;
    507508        }
    508509
Note: See TracChangeset for help on using the changeset viewer.