[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:29:29 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11283



--- Comment #6 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-10-17 02:29:27 PDT ---
(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.

> Due to the same issue of missing language support by default, I had to remove
> the tests that actually tested for non-ASCII support anyway, so the unittest
> isn't as useful as it was originally intended. If no solution can be found, the
> unittest could just be removed entirely.

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