[uim-commit] r1529 - trunk/uim
ekato at freedesktop.org
ekato at freedesktop.org
Tue Sep 20 10:08:16 PDT 2005
Author: ekato
Date: 2005-09-20 10:08:13 -0700 (Tue, 20 Sep 2005)
New Revision: 1529
Modified:
trunk/uim/uim-scm-gc.c
Log:
* Modify stack protection code since previous code (r1528)
works on Linux but not on Mac OS X.
* uim/uim-scm-gc.c (uim_scm_gc_protect_stack) : Return local
address.
(uim_scm_gc_unprotect_stack) : Use proper address.
Modified: trunk/uim/uim-scm-gc.c
===================================================================
--- trunk/uim/uim-scm-gc.c 2005-09-20 14:24:04 UTC (rev 1528)
+++ trunk/uim/uim-scm-gc.c 2005-09-20 17:08:13 UTC (rev 1529)
@@ -49,13 +49,13 @@
siod_gc_protect_stack(&stack_start);
- return (uim_lisp *)stack_start;
+ return (uim_lisp *)&stack_start;
}
void
uim_scm_gc_unprotect_stack(uim_lisp *stack_start)
{
- siod_gc_unprotect_stack((LISP *)&stack_start);
+ siod_gc_unprotect_stack((LISP *)stack_start);
}
uim_func_ptr
More information about the uim-commit
mailing list