------- Comment #1 from tsyvarev at ispras dot ru 2008-11-11 13:41 ------- Created an attachment (id=16652) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16652&action=view) Reproduce bug with recognition of name of weekday
This test require locale "ru_RU.iso88595" is installed. [EMAIL PROTECTED]:/mnt/hgfs/shared/temp/test$ g++ test.cpp && ./a.out t.tm_wday becomes 1, expected 1 t.tm_wday becomes -1, expected 1 t.tm_wday becomes 1, expected -1 In Russian locale every abbriviated name of month is always a prefix of full name, so conclusion about do_get_monthname() is done only according its code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38081