lmonetary.c (b161fb00618582eb3982d45529da41cf51b25f69) | lmonetary.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 --- 52 unchanged lines hidden (view full) --- 61static char * monetary_locale_buf; 62 63int 64__monetary_load_locale(const char *name) { 65 66 int ret; 67 __mlocale_changed = 1; 68 ret = __part_load_locale(name, &_monetary_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 --- 52 unchanged lines hidden (view full) --- 61static char * monetary_locale_buf; 62 63int 64__monetary_load_locale(const char *name) { 65 66 int ret; 67 __mlocale_changed = 1; 68 ret = __part_load_locale(name, &_monetary_using_locale, |
69 monetary_locale_buf, "LC_MONETARY", LCMONETARY_SIZE, | 69 monetary_locale_buf, "LC_MONETARY", 70 LCMONETARY_SIZE, LCMONETARY_SIZE, |
70 (const char **)&_monetary_locale); 71 if (ret == 0 && _monetary_using_locale) 72 _monetary_locale.mon_grouping = 73 __fix_locale_grouping_str(_monetary_locale.mon_grouping); 74 return ret; 75} 76 77struct lc_monetary_T * --- 43 unchanged lines hidden --- | 71 (const char **)&_monetary_locale); 72 if (ret == 0 && _monetary_using_locale) 73 _monetary_locale.mon_grouping = 74 __fix_locale_grouping_str(_monetary_locale.mon_grouping); 75 return ret; 76} 77 78struct lc_monetary_T * --- 43 unchanged lines hidden --- |