Репозитории ALT
Группа :: Терминалы
Пакет: xterm
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: xterm-alt-class.patch
Скачать
Скачать
--- xterm-202/main.c.orig 2005-06-08 19:00:28 +0400
+++ xterm-202/main.c 2005-06-08 20:12:32 +0400
@@ -95,6 +95,7 @@ SOFTWARE.
#include <X11/cursorfont.h>
#include <X11/Xlocale.h>
+#include <locale.h>
#if OPT_TOOLBAR
@@ -1670,6 +1671,11 @@ main(int argc, char *argv[]ENVP_ARG)
TRACE_IDS;
#endif
+ setlocale(LC_ALL, "");
+ if (xtermEnvUTF8())
+ my_class = "UXTerm";
+ setlocale(LC_ALL, "C");
+
/* Drop effective group ID (but save it for utempter) */
setresgid(-1, getgid(), getegid());