OLD | NEW |
1 /* | 1 /* |
2 * xsltlocale.c: locale handling | 2 * xsltlocale.c: locale handling |
3 * | 3 * |
4 * Reference: | 4 * Reference: |
5 * RFC 3066: Tags for the Identification of Languages | 5 * RFC 3066: Tags for the Identification of Languages |
6 * http://www.ietf.org/rfc/rfc3066.txt | 6 * http://www.ietf.org/rfc/rfc3066.txt |
7 * ISO 639-1, ISO 3166-1 | 7 * ISO 639-1, ISO 3166-1 |
8 * | 8 * |
9 * Author: Nick Wellnhofer | 9 * Author: Nick Wellnhofer |
10 * winapi port: Roumen Petrov | 10 * winapi port: Roumen Petrov |
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 | 516 |
517 len = xsltLocaleListSize * sizeof(xsltRFC1766Info); | 517 len = xsltLocaleListSize * sizeof(xsltRFC1766Info); |
518 xsltLocaleList = xmlMalloc(len); | 518 xsltLocaleList = xmlMalloc(len); |
519 memset(xsltLocaleList, 0, len); | 519 memset(xsltLocaleList, 0, len); |
520 EnumSystemLocalesA(xsltIterateSupportedLocales, LCID_SUPPORTED); | 520 EnumSystemLocalesA(xsltIterateSupportedLocales, LCID_SUPPORTED); |
521 } | 521 } |
522 xmlRMutexUnlock(xsltLocaleMutex); | 522 xmlRMutexUnlock(xsltLocaleMutex); |
523 } | 523 } |
524 | 524 |
525 #endif /*def XSLT_LOCALE_WINAPI*/ | 525 #endif /*def XSLT_LOCALE_WINAPI*/ |
OLD | NEW |