Skip to content

Commit

Permalink
Merge pull request cms-sw#172 from gpetruc/slc6-root5.34.17
Browse files Browse the repository at this point in the history
Delete temp file roostats-XXXXXX when running from text datacard
  • Loading branch information
gpetruc committed Jan 12, 2015
2 parents 70dfa02 + 5427c15 commit b7f8e8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Combine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ void Combine::run(TString hlfFile, const std::string &dataset, double &limit, do
char buff[99]; snprintf(buff, 98, "roostats-XXXXXX");
int fd = mkstemp(buff); close(fd);
tmpFile = buff;
unlink(tmpFile); // this is to be deleted, since we'll use tmpFile+".root"
}

bool isTextDatacard = false, isBinary = false;
Expand Down

0 comments on commit b7f8e8b

Please sign in to comment.