1 diff -ru xemacs-21.5.21.orig/src/intl.c xemacs-21.5.21/src/intl.c
2 --- xemacs-21.5.21.orig/src/intl.c 2002-05-28 10:44:55.000000000 +0200
3 +++ xemacs-21.5.21/src/intl.c 2005-06-13 16:23:51.000000000 +0200
6 if (!init_x_locale (locale))
8 - /* Locale not supported under X. Put it back. */
9 - setlocale (LC_ALL, loc);
10 + /* Locale not supported under X. Set locale to "C" and print a warning. */
11 + warn_when_safe (Qwarning, Qwarning,
12 + "locale not supported by Xlib, setting locale to C.");
13 + setlocale (LC_ALL, "C");
14 setlocale (LC_NUMERIC, "C");