[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scm_hash_fn_create_handle_x?
From: |
Masao Uebayashi |
Subject: |
Re: scm_hash_fn_create_handle_x? |
Date: |
Thu, 07 Jun 2001 14:48:52 +0900 |
I can avoid core dump by the following patch.
This is not the best way, though.
Regards,
Masao
--- libguile/deprecation.c.orig Mon May 28 10:32:48 2001
+++ libguile/deprecation.c Thu Jun 7 14:37:15 2001
@@ -47,8 +47,9 @@
#include "libguile/deprecation.h"
#include "libguile/hashtab.h"
-#include "libguile/strings.h"
#include "libguile/ports.h"
+#include "libguile/strings.h"
+#include "libguile/vectors.h"
@@ -78,6 +79,8 @@
"they are printed in turn, each one followed by a newline.")
#define FUNC_NAME s_scm_issue_deprecation_warning
{
+ if (!SCM_BOOLP(issued_msgs) || !SCM_VECTORP(issued_msgs))
+ issued_msgs = SCM_BOOL_F;
if (SCM_BOOLP (issued_msgs))
issued_msgs = SCM_BOOL_T;
else