From 566d5c9a930a70b54d6a8a43f541d670ad406273 Mon Sep 17 00:00:00 2001 From: steve Date: Fri, 29 Jun 2001 00:42:39 +0000 Subject: [PATCH] Get a private copy of the object name. --- vpi/sys_vcd.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vpi/sys_vcd.c b/vpi/sys_vcd.c index dfadf79dd..da7abe1b4 100644 --- a/vpi/sys_vcd.c +++ b/vpi/sys_vcd.c @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) && !defined(macintosh) -#ident "$Id: sys_vcd.c,v 1.17 2001/06/21 04:15:22 steve Exp $" +#ident "$Id: sys_vcd.c,v 1.18 2001/06/29 00:42:39 steve Exp $" #endif /* @@ -341,7 +341,7 @@ static void scan_scope(unsigned depth, vpiHandle argv) cb.obj = item; info->item = item; info->ident = strdup(vcdid); - info->fullname = fullname; + info->fullname = strdup(fullname); info->cb = vpi_register_cb(&cb); info->next = vcd_list; vcd_list = info; @@ -476,6 +476,9 @@ void sys_vcd_register() /* * $Log: sys_vcd.c,v $ + * Revision 1.18 2001/06/29 00:42:39 steve + * Get a private copy of the object name. + * * Revision 1.17 2001/06/21 04:15:22 steve * Add dumpon and dumpoff (Stephan Boettcher) *