[Issue 11283] [REG 2.064] assert in std/windows/syserror.d
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 17 02:54:36 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11283
--- Comment #7 from Jakob Ovrum <jakobovrum at gmail.com> 2013-10-17 02:54:33 PDT ---
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > (In reply to comment #3)
> > > Systeminfo dumps the following (which puzzles me actually)
> > >
> > > System Locale: en-gb;English (United Kingdom)
> > > Input Locale: en-us;English (United States)
> >
> > Does it work if SUBLANG_ENGLISH_US is changed to SUBLANG_ENGLISH_UK or
> > SUBLANG_DEFAULT on lines 90 and 92 in std/windows/syserror.d?
> >
> > In order to actually have a unittest for sysErrorString at all, I added the
> > optional language parameters so a language combination that was always
> > available could be chosen; I thought en-US was such a combination. Maybe that
> > was a mistake. Maybe LANG_ENGLISH and SUBLANG_DEFAULT would always work?
> >
>
> SUBLANG_ENGLISH_UK works, SUBLANG_DEFAULT and LANG_ENGLISH doesn't with the
> same error. It's strange.
I submitted a pull request to simply remove the test entirely. I can't think of
a way to make it work.
https://github.com/D-Programming-Language/phobos/pull/1649
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list