From b42a9b8e28eeae6be492da94ce1db8f8d8a686e9 Mon Sep 17 00:00:00 2001 From: Philippe Canal <pcanal@fnal.gov> Date: Sat, 25 Nov 2006 00:16:34 +0000 Subject: [PATCH] When looking for the list of libraries needed by an autoloaded class, properly translate the classname into the name found in the rootmap file git-svn-id: http://root.cern.ch/svn/root/trunk@16940 27541ba8-7e3a-0410-8455-c3a389f83636 --- meta/src/TCint.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/src/TCint.cxx b/meta/src/TCint.cxx index 9ef4ce932eb..e69b869f9df 100644 --- a/meta/src/TCint.cxx +++ b/meta/src/TCint.cxx @@ -1,4 +1,4 @@ -// @(#)root/meta:$Name: $:$Id: TCint.cxx,v 1.125 2006/09/04 15:33:35 rdm Exp $ +// @(#)root/meta:$Name: $:$Id: TCint.cxx,v 1.126 2006/10/05 17:02:48 pcanal Exp $ // Author: Fons Rademakers 01/03/96 /************************************************************************* @@ -1359,6 +1359,9 @@ const char *TCint::GetClassSharedLibs(const char *cls) // convert "::" to "@@", we used "@@" because TEnv // considers "::" a terminator c.ReplaceAll("::", "@@"); + // convert "-" to " ", since class names may have + // blanks and TEnv considers a blank a terminator + c.ReplaceAll(" ", "-"); const char *libs = fMapfile->GetValue(c, ""); return (*libs) ? libs : 0; } -- GitLab