Opened 12 years ago

Closed 11 years ago

Last modified 10 years ago

#4724 closed Patches (fixed)

Add temp_dir_path() under Operational Functions

Reported by: Jeff Flinn <jflinn@…> Owned by: Beman Dawes
Milestone: Boost 1.52.0 Component: filesystem
Version: Boost Release Branch Severity: Problem
Keywords: temp, temporary, directory, path Cc:

Description

The attached patch adds to filesystem/v3 a temp_dir_path() function to operations.hpp with implementation in operations.cpp and test in operations_test.cpp. Documentation is added to reference.html. Implementations are provided for POSIX and Windows.

Attachments (3)

temp_dir_path.patch (6.2 KB ) - added by Jeff Flinn <jflinn@…> 12 years ago.
patch for temp_dir_path() addition
temp_dir_path2.patch (7.0 KB ) - added by Jeff Flinn <jflinn@…> 12 years ago.
Add search for env vars: TMPDIR, TMP, TEMP, TEMPDIR, read/write tests
temp_dir_path3.patch (12.1 KB ) - added by Jeff Flinn <jflinn@…> 12 years ago.
replace previous patches, on error set ENOTDIR, add tests for env existence

Download all attachments as: .zip

Change History (7)

by Jeff Flinn <jflinn@…>, 12 years ago

Attachment: temp_dir_path.patch added

patch for temp_dir_path() addition

by Jeff Flinn <jflinn@…>, 12 years ago

Attachment: temp_dir_path2.patch added

Add search for env vars: TMPDIR, TMP, TEMP, TEMPDIR, read/write tests

comment:1 by Jeff Flinn <jflinn@…>, 12 years ago

temp_dir_patch2.patch replaces temp_dir_patch.patch, adding the search through environment variables: TMPDIR, TMP, TEMP, TEMPDIR, using the definition of the first available definition as the returned path for temp_dir_path on POSIX systems. Added creating, writing, reading and removing of files in the test. Modified reference.html doc to reflect these changes.

by Jeff Flinn <jflinn@…>, 12 years ago

Attachment: temp_dir_path3.patch added

replace previous patches, on error set ENOTDIR, add tests for env existence

comment:2 by Beman Dawes, 11 years ago

Resolution: fixed
Status: newclosed

See changeset https://svn.boost.org/trac/boost/changeset/66028

Thanks to Jeff for all his work on this,

--Beman

comment:3 by martellawintek, 10 years ago

Milestone: To Be DeterminedBoost 1.52.0
Version: Boost 1.44.0Boost Release Branch

hi macaulay i shouldnt give it out but here is there web address

filling address , there very helpfull ,tell them wintek told you to ring him

comment:4 by davyfetons, 10 years ago

well trevor if your still in need of them this is there web address and details , there very helpfull ,tell them davy fets recommended you

Note: See TracTickets for help on using tickets.