locale messages gnu patch 13631

Jonathan Wakely jwakely.gcc@gmail.com
Mon Jan 3 20:40:00 GMT 2011


On 3 January 2011 20:24, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 3 January 2011 20:20, François Dumont wrote:
>> Hi
>>
>>    First happy new year to all libstdc++ contributors and users !
>>
>>    Here is my first patch of the year, for the gnu implementation of locale
>> messages facet fixing normally DR 13631.
>>
>>     More important is the test case coming next to it (4.cc) showing what it
>> is fixing. The bad news is that I haven't been able to integrate this test
>> to the libstdc++ testsuite so I join it to this mail but have no plan to add
>> it to libstdc++ testsuite. It requires 2 different catalogs to play with and
>> I haven't found how to tweak the makefiles to automatically generate those 2
>> catalogs as part of the testsuite. So I use the catalogs from okular
>> (/usr/share/okular.mo) and pulseaudio (/usr/share/pulseaudio.mo), I hope
>> those 2 are present on most of linux distroes so that someone can confirm
>> that the patch is working.
>>
>>    For info I even try to run this test with the gcc version coming with my
>> distro 4.4.3 and it doesn't work neither so there is really a problem with
>> my Mandriva 2010.2 distro.
>>
>>    So, anyone can run the test for me ?
>
> Sure, I'll try it now.
>

a.out: 4.cc:56: void test01(): Assertion `s01 == "secondes"' failed.

I only have the English catalog for okular

$ locate okular.mo
/usr/share/locale/en_GB/LC_MESSAGES/okular.mo

$ locate '*fr*pulseaudio.mo'
/usr/share/locale/fr/LC_MESSAGES/pulseaudio.mo



More information about the Libstdc++ mailing list