Hi Todd, Todd C. Miller wrote on Sun, Jan 10, 2016 at 12:33:07PM -0700: > On Sun, 10 Jan 2016 19:55:53 +0100, Ingo Schwarze wrote: >> So, my conclusion is that it's the C standard that is carelessly >> worded, not POSIX. I don't think the C standard intends to say >> that fgetwc(3) and fputwc(3) are not allowed to set the error >> indicator on an encoding error, it just doesn't clearly say that >> they are required to. POSIX then adds the additional requirement, >> merely failing to make it clear that it's resolving a careless >> wording in the C standard.
> POSIX marks its extensions to ISO C, but this behavior is not > documented as an extension. I suggest you contant the Austin group > for clarification. Done: http://austingroupbugs.net/view.php?id=1022 Let's wait for feedback, then take that into consideration for our decision. Yours, Ingo