Thanks! I did a stupid test that just opens a file and exits ... and it seems to exit fine. Should I try something else or look harder at what happens in root?
#include "XrdCl/XrdClFile.hh"
#include <cassert>
#include <cstdio>
#include <iostream>
// c++ -o noclose-test noclose-test.cxx -I/usr/include/xrootd -lXrdCl
const std::string FNAME = "root://eoscms.cern.ch//store/mc/RunIISummer20UL18MiniAOD/BToKee_SoftQCDnonD_TuneCP5_13TeV-pythia8-evtgen/MINIAODSIM/bParking_bParking_106X_upgrade2018_realistic_v11_L1v1-v1/280000/0040A793-C5FE-CB42-9846-DA1E89C342AB.root";
int main()
{
XrdCl::XRootDStatus st;
XrdCl::File *f;
f = new XrdCl::File;
st = f->Open(FNAME, XrdCl::OpenFlags::Read);
std::cout << "Status " << st.ToStr() << "\n";
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1