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: christos%zoulas.com@localhost (Christos Zoulas)
To: yamt%mwd.biglobe.ne.jp@localhost (YAMAMOTO Takashi)
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: Mon, 20 Jan 2014 20:19:19 -0500

 On Jan 21, 12:29am, yamt%mwd.biglobe.ne.jp@localhost (YAMAMOTO Takashi) wrote:
 -- Subject: Re: lib/47602 (getwc() modifies input instead of returning EILSEQ
 
 | my question was about the test program in this PR, not t_io.
 
 
 The program expects to be able to read the data it wrote to the file.
 I.e. if you getwc() from a file, the character you read should match
 the sequence of bytes you read. This assumes that there is a 1<->1 mapping
 from wchar_t to wint_t. Isn't that true?
 
 christos
 


Home | Main Index | Thread Index | Old Index