NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/54411: std::locale broken



Hi,

Robert Elz <kre%munnari.OZ.AU@localhost> writes:

> The following reply was made to PR toolchain/54411; it has been noted by GNATS.
>
> From: Robert Elz <kre%munnari.OZ.AU@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc: 
> Subject: Re: toolchain/54411: std::locale broken
> Date: Mon, 29 Jul 2019 11:13:53 +0700
>
>      Date:        Mon, 29 Jul 2019 02:45:01 +0000 (UTC)
>      From:        Ryo ONODERA <ryo%tetera.org@localhost>
>      Message-ID:  <20190729024501.3E38E7A1C0%mollari.NetBSD.org@localhost>
>  
>    |  And wiz@'s test program in C++ emits as follows without errors:
>    |  
>    |  Thousands separator for en_US is ','
>    |  Thousands separator for de_DE.UTF-8 is ','
>    |  Thousands separator for fr_FR.UTF-8 is ','
>  
>  There may be no errors, but the answers are wrong (if you
>  have those locales installed).  The US one is right, but
>  for DE it should be '.' and for FR an unbreakable space.

I think I have de_DE.UTF-8 locale.

$ ls -laF /usr/share/locale/de_DE.UTF-8/
total 248
drwxr-xr-x    3 root  wheel    512 Jul 29 11:05 ./
drwxr-xr-x  192 root  wheel   4608 Jul 27 01:44 ../
-r--r--r--    1 root  wheel  95406 Jul 29 10:41 LC_CTYPE
drwxr-xr-x    2 root  wheel    512 Jul 29 11:05 LC_MESSAGES/
-r--r--r--    1 root  wheel   1216 Jul 29 10:41 LC_MONETARY
-r--r--r--    1 root  wheel    224 Jul 29 10:41 LC_NUMERIC
-r--r--r--    1 root  wheel   2112 Jul 29 10:41 LC_TIME

And fr_FR.UTF-8 locale.

$ ls -laF /usr/share/locale/fr_FR.UTF-8
total 248
drwxr-xr-x    3 root  wheel    512 Jul 29 11:05 ./
drwxr-xr-x  192 root  wheel   4608 Jul 27 01:44 ../
-r--r--r--    1 root  wheel  95406 Jul 29 10:41 LC_CTYPE
drwxr-xr-x    2 root  wheel    512 Jul 29 11:05 LC_MESSAGES/
-r--r--r--    1 root  wheel   1216 Jul 29 10:41 LC_MONETARY
-r--r--r--    1 root  wheel    224 Jul 29 10:41 LC_NUMERIC
-r--r--r--    1 root  wheel   2112 Jul 29 10:41 LC_TIME

However I have no idea about the content of these files.

-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index