Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
xemacs
set-locale-to-c-when-not-supported-by-x.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File set-locale-to-c-when-not-supported-by-x.patch of Package xemacs
Index: xemacs-21.5.29/src/intl.c =================================================================== --- xemacs-21.5.29.orig/src/intl.c +++ xemacs-21.5.29/src/intl.c @@ -84,8 +84,10 @@ Otherwise, returns the locale, or possib #ifdef HAVE_X_WINDOWS if (!init_x_locale (locale)) { - /* Locale not supported under X. Put it back. */ - setlocale (LC_ALL, loc); + /* Locale not supported under X. Set locale to "C" and print a warning. */ + warn_when_safe (Qwarning, Qwarning, + "locale not supported by Xlib, setting locale to C."); + setlocale (LC_ALL, "C"); setlocale (LC_NUMERIC, "C"); free (loc); return Qnil;
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