[uim-commit] r1376 - in branches/r5rs: . uim

tkng at freedesktop.org tkng at freedesktop.org
Wed Aug 31 23:32:00 PDT 2005


Author: tkng
Date: 2005-08-31 23:31:58 -0700 (Wed, 31 Aug 2005)
New Revision: 1376

Modified:
   branches/r5rs/
   branches/r5rs/uim/uim.c
Log:
 r3026 at t42 (orig r1375):  ekato | 2005-09-01 13:59:09 +0900
 * uim/uim.c (uim_find_context) : Fix change in r1360.  Unlock after
   return doesn't make sense.
 



Property changes on: branches/r5rs
___________________________________________________________________
Name: svk:merge
   - fb73e508-85ea-0310-95c3-a85c473e0941:/trunk:1366
   + fb73e508-85ea-0310-95c3-a85c473e0941:/trunk:1375

Modified: branches/r5rs/uim/uim.c
===================================================================
--- branches/r5rs/uim/uim.c	2005-09-01 04:59:09 UTC (rev 1375)
+++ branches/r5rs/uim/uim.c	2005-09-01 06:31:58 UTC (rev 1376)
@@ -289,9 +289,11 @@
 uim_context
 uim_find_context(int id)
 {
+  uim_context uc;
   UIM_LOCK_MUTEX(context_array_mtx);
-  return context_array[id];
+  uc = context_array[id];
   UIM_UNLOCK_MUTEX(context_array_mtx);
+  return uc;
 }
 
 int



More information about the uim-commit mailing list