[uim-commit] r2188 - branches/r5rs/sigscheme
yamaken at freedesktop.org
yamaken at freedesktop.org
Sun Nov 20 07:43:57 PST 2005
Author: yamaken
Date: 2005-11-20 07:43:53 -0800 (Sun, 20 Nov 2005)
New Revision: 2188
Modified:
branches/r5rs/sigscheme/error.c
Log:
* sigscheme/error.c
- (SigScm_Error): Fix lacking va_list handling
Modified: branches/r5rs/sigscheme/error.c
===================================================================
--- branches/r5rs/sigscheme/error.c 2005-11-20 15:19:25 UTC (rev 2187)
+++ branches/r5rs/sigscheme/error.c 2005-11-20 15:43:53 UTC (rev 2188)
@@ -223,7 +223,9 @@
ScmObj err_obj;
#if HAVE_VASPRINTF
+ va_start(va, msg);
vasprintf(&reason, msg, va);
+ va_end(va);
#else /* HAVE_VASPRINTF */
/* FIXME: provide replace vasprintf */
reason = strdup(msg);
More information about the uim-commit
mailing list