Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 2a5af223 in mainline


Ignore:
Timestamp:
2009-12-05T16:46:56Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
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.