summaryrefslogtreecommitdiff
path: root/japanese/vje30/files/patch-ximsub1.c
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-01-11 12:52:12 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-01-11 12:52:12 +0000
commite8a49fd3ff7992ab850509b069830a3732c41da9 (patch)
tree0ce43403849870ff8764f6ea1a238150d36df22c /japanese/vje30/files/patch-ximsub1.c
parentUpdate to 0.8.4. (diff)
Applying the patch posted on unix-ml@vacs.co.jp mailing list by
Hiroyuki Aizu <aizu@jaist.ac.jp>, build `vje' executable from the source. This should finally fix the memory leakage problem that has been reported by many users. :)
Notes
Notes: svn path=/head/; revision=37094
Diffstat (limited to '')
-rw-r--r--japanese/vje30/files/patch-ximsub1.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/japanese/vje30/files/patch-ximsub1.c b/japanese/vje30/files/patch-ximsub1.c
new file mode 100644
index 000000000000..10a303ce1f7e
--- /dev/null
+++ b/japanese/vje30/files/patch-ximsub1.c
@@ -0,0 +1,28 @@
+--- delta/newFrontend/ximsub1.c.orig Tue Aug 1 03:00:00 2000
++++ delta/newFrontend/ximsub1.c Thu Jan 11 21:24:21 2001
+@@ -259,10 +259,11 @@
+
+ if (&fxim_table[i].client == xim_client) {
+ FreeRecvQueue(fxim_table[i].client.pending);
++
+ #if 1/*991109*/
+- if (xim_client->v_data) {
++ /* if (xim_client->v_data) { */
+ CloseVJE (xim_client);
+- }
++ /* } */
+ #endif
+ fxim_table[i].client.used = False;
+ if (xim_client->preedit->FontName) {
+@@ -295,9 +296,9 @@
+ FreeRecvQueue(fxim_table[i].client.pending);
+ #if 1/*991109*/
+ xim_client = &fxim_table[i].client;
+- if (xim_client->v_data) {
++ /* if (xim_client->v_data) { */
+ CloseVJE (xim_client);
+- }
++ /* } */
+ #endif
+ fxim_table[i].client.used = False;
+