--- calo/flight/FQLOOK/src/FCaloQLOOK.cc 2006/09/22 13:38:59 1.6 +++ calo/flight/FQLOOK/src/FCaloQLOOK.cc 2007/07/18 07:51:07 1.9 @@ -113,6 +113,7 @@ return(0); }; // + stringstream figsave; if ( !beverbose ){ // const string fil = gSystem->BaseName(name.Data()); @@ -128,18 +129,17 @@ const char *figrec = file2; // const char *outDir = outdir; - stringstream figsave; figsave.str(""); figsave << outDir << "/" ; figsave << figrec << "_CaloQLOOK.txt"; // // redirect to /dev/null the stdout and stderr // - nul = open(figsave.str().c_str(), O_CREAT | O_RDWR,S_IREAD | S_IWRITE); + nul = open(figsave.str().c_str(), O_CREAT | O_RDWR,S_IREAD | S_IWRITE | S_IRGRP | S_IWGRP | S_IROTH); dup2(nul,1); dup2(nul,2); }; - printf("\n Welcome to FCaloQLOOK! \n"); + printf("\n Welcome to FCaloQLOOK! v1r21 \n"); // FCaloQLOOK(name,fromev,toev,outdir,format,iactive,w4i); //