diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-10-02T11·55+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-10-02T11·55+0000 |
commit | 4193d62e08964e2c26b27674e33327bf0417bab5 (patch) | |
tree | 682be5e80e0ea2b3adaa0f715974549d9d88d2fc /src/util.hh | |
parent | 6d478597c7672efc546b6720c8404ffb5f998612 (diff) |
* Nix now respects $TMPDIR for the creation of temporary build directories.
* Retry creation of a temporary directory (with a different name) in the case of EEXIST.
Diffstat (limited to 'src/util.hh')
-rw-r--r-- | src/util.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.hh b/src/util.hh index d0e42f3b1707..31dba7fafedd 100644 --- a/src/util.hh +++ b/src/util.hh @@ -72,6 +72,9 @@ void deletePath(const string & path); /* Make a path read-only recursively. */ void makePathReadOnly(const string & path); +/* Create a temporary directory. */ +string createTempDir(); + /* Messages. */ |