Bug#305831: mbrtowc() fails for vi_VN.tcvn

2005-04-25 Thread Ross Paterson
On Mon, Apr 25, 2005 at 01:07:54AM +0900, GOTO Masanori wrote: > At Fri, 22 Apr 2005 12:14:53 +0100, > Ross Paterson wrote: > > According to the spec, mbrtowc(&wc, buf, 1, &st) should either return 1 > > and set wc, or return 0, (size_t)-1 or (size_t)-2. In this locale it > > returns either 0 or 1

Bug#305831: mbrtowc() fails for vi_VN.tcvn

2005-04-24 Thread GOTO Masanori
At Fri, 22 Apr 2005 12:14:53 +0100, Ross Paterson wrote: > According to the spec, mbrtowc(&wc, buf, 1, &st) should either return 1 > and set wc, or return 0, (size_t)-1 or (size_t)-2. In this locale it > returns either 0 or 1, but doesn't always set wc in the latter case, > as the following test p

Bug#305831: mbrtowc() fails for vi_VN.tcvn

2005-04-22 Thread Ross Paterson
Package: locales Version: 2.3.2.ds1-20 Severity: normal According to the spec, mbrtowc(&wc, buf, 1, &st) should either return 1 and set wc, or return 0, (size_t)-1 or (size_t)-2. In this locale it returns either 0 or 1, but doesn't always set wc in the latter case, as the following test program s