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


Ignore:
Timestamp:
2009-12-05T16:46:56Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f1b37d6
Parents:
51ea01e
Message:

Fix bug in fputc() which made printf("%ls") break with non-ASCII characters.

File:
1 edited

Legend:

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

    r51ea01e r2a5af223  
    480480       
    481481        if (chr_encode(c, buf, &sz, STR_BOUNDS(1)) == EOK) {
    482                 size_t wr = fwrite(buf, sz, 1, stream);
     482                size_t wr = fwrite(buf, 1, sz, stream);
    483483               
    484484                if (wr < sz)
Note: See TracChangeset for help on using the changeset viewer.