This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] Don't error out writing a multibyte character to an unbuffered stream (bug 17522)
- From: Andreas Schwab <schwab at suse dot de>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 03 Nov 2014 09:53:32 +0100
- Subject: Re: [PATCH] Don't error out writing a multibyte character to an unbuffered stream (bug 17522)
- Authentication-results: sourceware.org; auth=none
- References: <mvm38a5kcyh dot fsf at hawking dot suse dot de> <5453B03B dot 6040908 at redhat dot com>
"Carlos O'Donell" <firstname.lastname@example.org> writes:
> I expect it is unsupported to write a partial multi-byte character
> to an unbuffered stream? You have nowhere to store the partial
> character so you just return an error. Which makes sense to me,
> but I wanted to be explicit.
That question doesn't make sense to me. The wide character I/O
functions write wide characters, which cannot be partial. In any case,
there is no change in that behaviour in any way.
Andreas Schwab, SUSE Labs, email@example.com
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."