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