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.)



The following reply was made to PR lib/47602; it has been noted by GNATS.

From: yamt%mwd.biglobe.ne.jp@localhost (YAMAMOTO Takashi)
To: christos%zoulas.com@localhost
Cc: gnats-bugs%NetBSD.org@localhost, lib-bug-people%netbsd.org@localhost, 
netbsd-bugs%netbsd.org@localhost,
        gnats-admin%netbsd.org@localhost, yamt%NetBSD.org@localhost
Subject: Re: lib/47602 (getwc() modifies input instead of returning EILSEQ.)
Date: Tue, 21 Jan 2014 00:29:51 +0000 (UTC)

 > 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