Re: mbrtowc bug

2009-07-21 Thread Corinna Vinschen
On Jul 20 21:13, Eric Blake wrote: > Corinna Vinschen cygwin.com> writes: > > > > > > I'm running the testcase on XP SP3. I have an idea why it fails for > > > > > you. The eucJP codepage 20932 is not installed by default on US and > > > > > other western language systems by default up to Windo

Re: mbrtowc bug

2009-07-20 Thread Eric Blake
Corinna Vinschen cygwin.com> writes: > > > > I'm running the testcase on XP SP3. I have an idea why it fails for > > > > you. The eucJP codepage 20932 is not installed by default on US and > > > > other western language systems by default up to Windows 2003. What you > > > > have to do is, ope

Re: mbrtowc bug

2009-07-20 Thread Corinna Vinschen
On Jul 20 14:31, Corinna Vinschen wrote: > On Jul 20 06:21, Eric Blake wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > According to Corinna Vinschen on 7/20/2009 6:08 AM: > > > I'm running the testcase on XP SP3. I have an idea why it fails for > > > you. The eucJP codepage

Re: mbrtowc bug

2009-07-20 Thread Corinna Vinschen
On Jul 20 06:21, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Corinna Vinschen on 7/20/2009 6:08 AM: > > I'm running the testcase on XP SP3. I have an idea why it fails for > > you. The eucJP codepage 20932 is not installed by default on US and > > other w

Re: mbrtowc bug

2009-07-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Corinna Vinschen on 7/20/2009 6:08 AM: > I'm running the testcase on XP SP3. I have an idea why it fails for > you. The eucJP codepage 20932 is not installed by default on US and > other western language systems by default up to Windows

Re: mbrtowc bug

2009-07-20 Thread Corinna Vinschen
On Jul 20 14:08, Corinna Vinschen wrote: > On Jul 20 05:59, Eric Blake wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > According to Corinna Vinschen on 7/20/2009 5:55 AM: > > > > > > What bug?!? When I run this testcase on Cygwin 1.7, it returns 0. What > > > is the suppose

Re: mbrtowc bug

2009-07-20 Thread Corinna Vinschen
On Jul 20 05:59, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Corinna Vinschen on 7/20/2009 5:55 AM: > > > > What bug?!? When I run this testcase on Cygwin 1.7, it returns 0. What > > is the supposed error and what is expected if it's behaving correctly?

Re: mbrtowc bug

2009-07-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Corinna Vinschen on 7/20/2009 5:55 AM: > > What bug?!? When I run this testcase on Cygwin 1.7, it returns 0. What > is the supposed error and what is expected if it's behaving correctly? Hmm. Here's what it did for me on Windows XP (m

Re: mbrtowc bug

2009-07-20 Thread Corinna Vinschen
On Jul 20 13:42, Corinna Vinschen wrote: > On Jul 20 05:15, Eric Blake wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > The gnulib unit tests are declaring that cygwin's mbrtowc is broken. STC: > > > > #include > > #include > > #include > > int main () > > { > > if (setl

Re: mbrtowc bug

2009-07-20 Thread Corinna Vinschen
On Jul 20 05:15, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > The gnulib unit tests are declaring that cygwin's mbrtowc is broken. STC: > > #include > #include > #include > int main () > { > if (setlocale (LC_ALL, "ja_JP.eucJP") != NULL) > { > char input

mbrtowc bug

2009-07-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The gnulib unit tests are declaring that cygwin's mbrtowc is broken. STC: #include #include #include int main () { if (setlocale (LC_ALL, "ja_JP.eucJP") != NULL) { char input[] = "B\217\253\344\217\251\316er"; mbstate_t state;