Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37606 - it_IT locale does not have correct values for decimal places
Summary: it_IT locale does not have correct values for decimal places
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-08 06:50 UTC by Marko Djukic
Modified: 2004-09-26 10:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Djukic 2004-01-08 06:50:46 UTC
The following settings should not be (which were the old settings in the time of the Lira):
"int_frac_digits" => 0
"frac_digits" => 0

but SHOULD be:
"int_frac_digits" => 2
"frac_digits" => 2
Comment 1 Luca Barbato gentoo-dev 2004-01-08 19:53:30 UTC
did you try it_IT@euro?
Comment 2 Marko Djukic 2004-01-08 20:34:02 UTC
yes, same result:

/* Locale test. */
#include <locale.h>

int main()
{
    char *return_val;
    struct lconv *lconv_ptr;
    return_val = (char *) setlocale(LC_ALL, "it_IT@euro");
    lconv_ptr = (struct lconv *) localeconv();
    printf("International Fractional Digits = %d\n",
           lconv_ptr->int_frac_digits);
}
Comment 3 Marko Djukic 2004-01-08 20:35:17 UTC
sorry, left out the output:

International Fractional Digits = 0
Comment 4 Marko Djukic 2004-09-26 10:17:58 UTC
Closing this, since I took it up with the glibc guys and they fixed it in their cvs.