Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
kterm
kterm-6.2.0-glibc2.2-setlocale.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kterm-6.2.0-glibc2.2-setlocale.patch of Package kterm
--- kterm-6.2.0/xim.c.orig Tue Nov 14 21:04:13 2000 +++ kterm-6.2.0/xim.c Tue Nov 14 21:13:23 2000 @@ -175,6 +175,10 @@ SetLocale(localelist) char *localelist; { +#if (defined (__GLIBC__) && ((__GLIBC__ > 2) || (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 2))) + if (setlocale(LC_CTYPE,"") && XSupportsLocale()) return; + fprintf(stderr, "Couldn't set locale: %s\n",setlocale(LC_CTYPE,NULL)); +#else char **locales; for (locales = ParseList(localelist); *locales; locales++) { @@ -182,6 +186,7 @@ } fprintf(stderr, "Couldn't set locale: %s\n", localelist); +#endif } static XIMStyle
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor