We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9be9f6c commit 45b62eaCopy full SHA for 45b62ea
tree/tree/src/TEntryList.cxx
@@ -1313,11 +1313,11 @@ void TEntryList::SetTree(const TTree *tree)
1313
filename = tree->GetTree()->GetCurrentFile()->GetName();
1314
TUrl url(filename.Data(), true);
1315
if (!strcmp(url.GetProtocol(), "file")){
1316
+ filename = url.GetFile(); // Get the file part, excluding the anchor, then expand
1317
gSystem->ExpandPathName(filename);
1318
if (!gSystem->IsAbsoluteFileName(filename))
1319
gSystem->PrependPathName(gSystem->pwd(), filename);
1320
filename = gSystem->UnixPathName(filename);
- url.SetAnchor(""); // Avoid potentially duplicated # when calling SetFile below
1321
url.SetFile(filename);
1322
}
1323
filename = url.GetUrl();
0 commit comments