NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/47602 (getwc() modifies input instead of returning EILSEQ.)



> On Jan 20, 12:40pm, yamt%NetBSD.org@localhost (yamt%NetBSD.org@localhost) 
> wrote:
> -- Subject: Re: lib/47602 (getwc() modifies input instead of returning EILSEQ
> 
> | Synopsis: getwc() modifies input instead of returning EILSEQ.
> | 
> | State-Changed-From-To: open->feedback
> | State-Changed-By: yamt%NetBSD.org@localhost
> | State-Changed-When: Mon, 20 Jan 2014 12:40:54 +0000
> | State-Changed-Why:
> | can you explain what the test program is trying to do?
> | it looks bogus to me.
> 
> 1. wprintf fails on bad input where swprintf succeeds on the same input.
> 2. getwc example does not return WEOF on bad input in EUC but other junk.
> 
> Basically it tests behavior on bad input. The same tests on FreeBSD work
> as expected.

my question was about the test program in this PR, not t_io.

YAMAMOTO Takashi

> 
> christos


Home | Main Index | Thread Index | Old Index