packages: Xaw3d/Xaw3d-close-detroy-crash.patch (NEW) - taken from openSUSE

draenog draenog at pld-linux.org
Mon Apr 26 08:30:51 CEST 2010


Author: draenog                      Date: Mon Apr 26 06:30:51 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- taken from openSUSE

---- Files affected:
packages/Xaw3d:
   Xaw3d-close-detroy-crash.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/Xaw3d/Xaw3d-close-detroy-crash.patch
diff -u /dev/null packages/Xaw3d/Xaw3d-close-detroy-crash.patch:1.1
--- /dev/null	Mon Apr 26 08:30:51 2010
+++ packages/Xaw3d/Xaw3d-close-detroy-crash.patch	Mon Apr 26 08:30:46 2010
@@ -0,0 +1,16 @@
+--- xc/lib/Xaw3d/XawIm.c~	1998-04-21 14:42:02.000000000 +0100
++++ xc/lib/Xaw3d/XawIm.c	2010-04-26 07:04:49.359519700 +0100
+@@ -331,12 +331,12 @@
+     /*
+      * Close Input Method
+      */
+-    CloseIM(ve);
+     if (!XFindContext(XDisplayOfIM(ve->im.xim), (Window)ve->im.xim, errContext,
+ 		      (XPointer*)&contextErrData)) {
+ 	if (contextErrData) XtFree((char *)contextErrData);
+     }
+     XDeleteContext(XDisplayOfIM(ve->im.xim), (Window)ve->im.xim, errContext);
++    CloseIM(ve);
+     ve->im.xim = NULL;
+ 
+     /*
================================================================


More information about the pld-cvs-commit mailing list