Homec4science

bibdocfile: better temporary files for bibupload

Authored by Samuele Kaplun <samuele.kaplun@cern.ch> on Jun 12 2009, 15:22.

Description

bibdocfile: better temporary files for bibupload

  • BibDocFile CLI tool usually prepares some MARCXML that is passed to BibUpload. For this, a temporary file is created under CFG_TMPDIR. The algorithm to choose the name was causing clashes when bibdocfile was called more than once per second. This is fixed now by using mkstemp.

Details

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:be4a6fdb32d3: bibdocfile: better temporary files for bibupload (authored by Samuele Kaplun <samuele.kaplun@cern.ch>).Jun 17 2009, 14:24