From 24f6d37d1498edf72cf96aa56bad0813e5f173c8 Mon Sep 17 00:00:00 2001 From: tomo Date: Fri, 19 Sep 2008 08:39:30 +0000 Subject: [PATCH] (Fconcord_object_put): Check argument FEATURE is a symbol. --- src/concord.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/concord.c b/src/concord.c index 06dc3b5..faab23c 100644 --- a/src/concord.c +++ b/src/concord.c @@ -1,5 +1,5 @@ /* XEmacs routines to deal with CONCORD. - Copyright (C) 2005,2006 MORIOKA Tomohiko + Copyright (C) 2005,2006,2008 MORIOKA Tomohiko This file is part of XEmacs. @@ -718,6 +718,7 @@ Store a VALUE of OBJECT's FEATURE. Bufbyte *name_str; CHECK_CONCORD_OBJECT (object); + CHECK_SYMBOL (feature); name = symbol_name (XSYMBOL (feature)); name_str = string_data (name); if ( NILP (concord_object_put (object, feature, value)) ) -- 1.7.10.4