Opened 10 years ago

Closed 8 years ago

Last modified 8 years ago

#892 closed defect (fixed)

Homogenize temporary file management

Reported by: Dimitar Misev Owned by: Vlad Zamfir
Priority: major Milestone: 9.2
Component: conversion Version: development
Keywords: Cc: Peter Baumann
Complexity: Medium

Description

Temporary files are created in various places, especially source:conversion, via mkstemp usually. Often they are created in cwd, but should be in /tmp.

The task is to search the code for mkstemp, and homogenize the temporary file creation. The temporary directory (/tmp default) should be defined in globals.hh or so.

Change History (8)

comment:1 by Peter Baumann, 10 years ago

further, all such files should sit in a directory clearly identifiable, such as /tmp/rasdaman.

Cream in the coffee: optional parameter to set this directory in the config file.

comment:2 by Dimitar Misev, 9 years ago

Owner: changed from bismaili to jzhang
Status: newassigned

comment:3 by Dimitar Misev, 9 years ago

Owner: changed from jzhang to Vlad Zamfir

comment:4 by Dimitar Misev, 9 years ago

Milestone: 9.19.2

comment:5 by Bang Pham Huu, 9 years ago

It looks like Vlad Zamfir has been doing with easylogging. May I take this ticket?

comment:6 by Dimitar Misev, 8 years ago

Resolution: fixed
Status: assignedclosed

comment:7 by Peter Baumann, 8 years ago

can we add a brief justification why it can be closed?

comment:8 by Dimitar Misev, 8 years ago

I've fixed it already when refactoring source:conversion

Note: See TracTickets for help on using tickets.