[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnome-terminal bug patch...
From: |
Orkun Gedik |
Subject: |
gnome-terminal bug patch... |
Date: |
Fri, 6 Feb 2004 09:19:23 +0200 |
Hi,
Gnome-Terminal crashes when SAP R/3 4.7 Enterprise locale files installed
into the system. Therefore, I have written patch in order to solve the
problem as below;
OS: Redhat Linux 9 - 2.4.20-8smp #1 SMP
gnome-terminal version : 2.2.2
Compiler: gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
In encoding.c file,
.
.
.
/* Translate the names */
encodings[i].name = _(encodings[i].name);
>>> MODIFIED (Begin) <<<
if(strcmp("SHIFT-JIS",encodings[i].charset))
{
converted = g_convert (ascii_sample, sizeof (ascii_sample) -
1,
encodings[i].charset, encodings[i].charset,
&bytes_read, &bytes_written, NULL);
}
else
{
converted = NULL;
}
>>> MODIFIED (End) <<<
The modifications in red shows newly added codes by me.
Regards.
- gnome-terminal bug patch...,
Orkun Gedik <=