Opened 23 months ago
#1831 new enhancement
Use a parameter for the directory to be used by create-temporary-{file,directory}
| Reported by: | Mario Domenech Goulart | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | someday |
| Component: | core libraries | Version: | 6.0.0 |
| Keywords: | create-temporary-file, create-temporary-directory | Cc: | |
| Estimated difficulty: | easy |
Description
Currently, create-temporary-file and create-temporary-directory use the value of the TMPDIR, TMP and TEMP environment variables to determine the directory where to create files/directories, falling back to /tmp if none of them is set.
Relying on environment variables to configure create-temporary-file and create-temporary-directory is not ideal, as changing those variables affect child processes as well. A better configuration option would be a parameter.
Note: See
TracTickets for help on using
tickets.
