This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [skimo@kotnet.org] libc/2302: putwc doesn't work in glibc 2.2.3
- To: libc-alpha at sources dot redhat dot com
- Subject: Re: [skimo@kotnet.org] libc/2302: putwc doesn't work in glibc 2.2.3
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 04 Jun 2001 01:59:18 -0700
- Cc: skimo at kotnet dot org
- References: <u8elt07hx1.fsf@gromit.moeb>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------