
12 Oct
2010
12 Oct
'10
1:12 p.m.
I've updated ticket#4724 with temp_dir_path2.patch which reflects the discussion in this thread. POSIX now uses the first environment variable from the list TMPDIR, TMP, TEMP, TEMPDIR. Windows still uses GetTempPath. Error handling is consistent with the rest of filesystem. operations_test.hpp tests the existence of the path returned by temp_dir_path, and the ability to create a file, write to it, read from it, and remove it from the directory. I've run tests on Window XP: msvc8, Mac OSX 10.5.8: Xcode 3.1.2 using gcc 4.0.1. Beman, do you think we can get this into 1.45? Thanks, Jeff