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

Ulrich Drepper drepper@redhat.com
Mon Jun 4 02:07:00 GMT 2001


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   `------------------------



More information about the Libc-alpha mailing list