This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [skimo@kotnet.org] libc/2302: putwc doesn't work in glibc 2.2.3


Andreas Jaeger <aj@suse.de> writes:

>     for (wp = wc; *wp; ++wp) {
> 	putwc(*wp, stdout);
>     }
>     puts("");

This is completely illegal.  You cannot use single- and wide-character
functions on the same stream.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]