lnumeric.c (b161fb00618582eb3982d45529da41cf51b25f69) | lnumeric.c (39d2c772eb664055f6c5184eb52fba0f78e6897f) |
---|---|
1/* 2 * Copyright (c) 2000, 2001 Alexey Zelkin 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 40 unchanged lines hidden (view full) --- 49 50int 51__numeric_load_locale(const char *name) { 52 53 int ret; 54 55 __nlocale_changed = 1; 56 ret = __part_load_locale(name, &_numeric_using_locale, | 1/* 2 * Copyright (c) 2000, 2001 Alexey Zelkin 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 40 unchanged lines hidden (view full) --- 49 50int 51__numeric_load_locale(const char *name) { 52 53 int ret; 54 55 __nlocale_changed = 1; 56 ret = __part_load_locale(name, &_numeric_using_locale, |
57 numeric_locale_buf, "LC_NUMERIC", LCNUMERIC_SIZE, | 57 numeric_locale_buf, "LC_NUMERIC", 58 LCNUMERIC_SIZE, LCNUMERIC_SIZE, |
58 (const char **)&_numeric_locale); 59 if (ret == 0 && _numeric_using_locale) 60 _numeric_locale.grouping = 61 __fix_locale_grouping_str(_numeric_locale.grouping); 62 return ret; 63} 64 65struct lc_numeric_T * --- 19 unchanged lines hidden --- | 59 (const char **)&_numeric_locale); 60 if (ret == 0 && _numeric_using_locale) 61 _numeric_locale.grouping = 62 __fix_locale_grouping_str(_numeric_locale.grouping); 63 return ret; 64} 65 66struct lc_numeric_T * --- 19 unchanged lines hidden --- |