This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/17522] `fputws' errors out when writing wide characters to unbuffered stream
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 29 Oct 2014 18:03:17 +0000
- Subject: [Bug stdio/17522] `fputws' errors out when writing wide characters to unbuffered stream
- Auto-submitted: auto-generated
- References: <bug-17522-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17522
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlos at redhat dot com
--- Comment #2 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Andreas Schwab from comment #1)
> The problem is that an unbuffered stream has only room for a single byte
> buffer for code conversion.
This is a bug in tst-skeleton.c IMO, it should allocate a buffer large enough
for the test to succeed, but small enough that you still get output as quickly
as possible in the even of a crash.
Thus tst-skeleton.c needs to be enhanced to allow the test to define the size
of the stdout buffer it needs and then that can be allocated and passed to
setvbuf?
--
You are receiving this mail because:
You are on the CC list for the bug.